×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    19

    Smile creating socket over WLAN network, question

    Hi,
    I need some advice,
    I've got the wi-fi Network name I would like connect to.

    I am creating socketserver and rconnection objects.

    RConnection connection;
    TCommDbConnPref pref;
    RSocketServ server;
    server.Connect();
    connection.Open(server);


    Now the only function for connecting I found in RConnection specification is
    Start.
    I can start a connection asynchronously by calling (on connection object):
    Start(TConnPref &aPref, TRequestStatus &aStatus); (or synchrous version)

    I have to set IAP ID in preferences like this:
    preferences.SetIapId(easy_wlan_id);

    but I don't have IAP ID, I have the network name (and user and password),

    I have read that TConnPref is for overriding connection preference settings in CommDb. Do I have to add my network to IAP database in order to be able to connect to it ????
    If this is the only solution does anyone has link to good documentation or a code example showing how to do this ? (so that I could create IAP with given network name , passw and username)

    Thanks for any help on this..
    Tomek

  2. #2
    Registered User
    Join Date
    Nov 2006
    Posts
    5

    Re: creating socket over WLAN network, question

    Have you found a way to do this after all? I am interested myself in the same thing. Thank you

  3. #3
    Regular Contributor
    Join Date
    Jun 2007
    Location
    INDIA
    Posts
    73

    Re: creating socket over WLAN network, question

    Hi,

    I dont know this is correct answer for your question or not.

    But while connecting to a particular accesspoint , I scanned IAP table and found desired Profile name (p990) and got Id in that record, using that id I am able to connect.

    -bytes

  4. #4
    Registered User
    Join Date
    Jul 2006
    Posts
    11

    Re: creating socket over WLAN network, question

    Hi

    as i understood IAP is same of your WLAN network SSID (WLAN network name), so you can use this as IAP,

    or you can use default options and provide IAP at RUN time (e.g create one Access Point for your available WLAN n/w though your settings UI)

    -arun

Similar Threads

  1. Nokia 6600 Network (Http and Socket) connections do not work!
    By jimmichr in forum Mobile Java Networking & Messaging & Security
    Replies: 11
    Last Post: 2006-07-14, 07:48
  2. problem in persistant socket connection
    By poms4symbian in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-01-03, 13:23
  3. Nokia 6600 Network (Http and Socket) connections do not work!
    By jimmichr in forum Mobile Java General
    Replies: 2
    Last Post: 2003-11-23, 20:42
  4. Creating a Profile with a network name
    By chuck@logix.com.sg in forum Multimodecards
    Replies: 1
    Last Post: 2003-06-17, 15:10
  5. Symbian OS C++/PJava Socket Connection loss if no network coverage?
    By suppu in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2003-04-02, 18:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×