×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    11

    Help with socket programming - Client Side

    Hi there,

    I am looking for a simple example that initiates a tcp connection with a given ip and port number, send a short string ("hello") and then wait for a reply of a short string?

    can anyone help?!

    regards,
    eugene

  2. #2
    Super Contributor
    Join Date
    Jul 2007
    Posts
    596

    Re: Help with socket programming - Client Side

    Quote Originally Posted by Eugene_200 View Post
    Hi there,

    I am looking for a simple example that initiates a tcp connection with a given ip and port number, send a short string ("hello") and then wait for a reply of a short string?

    can anyone help?!

    regards,
    eugene
    That can be also easily done by "http" . Here are some of the links for socket and http exps but i am not sure abt the files

    http://www.newlc.com/en/End-to-End-HTTP-and-Socket.html
    http://www.forum.nokia.com/info/sw.n...I_Example.html

    just check . also under 2nd editionfp2 sdk there was a socket exp...

  3. #3
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    136

    Smile Re: Help with socket programming - Client Side

    Quote Originally Posted by Eugene_200 View Post
    Hi there,

    I am looking for a simple example that initiates a tcp connection with a given ip and port number, send a short string ("hello") and then wait for a reply of a short string?

    can anyone help?!

    regards,
    eugene
    u can check the SDK example : SIPExample :socket Engine ....
    Hope this helps

    Regards
    Swapnil

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Help with socket programming - Client Side

    Or Chat example.

  5. #5
    Registered User
    Join Date
    Aug 2008
    Posts
    11

    Re: Help with socket programming - Client Side

    Quote Originally Posted by wizard_hu_ View Post
    Or Chat example.
    Can you give please a link to the example...

  6. #6
    Registered User
    Join Date
    Aug 2008
    Posts
    11

    Re: Help with socket programming - Client Side

    Quote Originally Posted by swapnilb83 View Post
    u can check the SDK example : SIPExample :socket Engine ....
    Hope this helps

    Regards
    Swapnil
    I am using S60_3rd_FP1 sdk.... can you give me the exact path to the example?

  7. #7
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    136

    Unhappy Re: Help with socket programming - Client Side

    Quote Originally Posted by Eugene_200 View Post
    Can you give please a link to the example...
    its in the SDK ...
    go to driver where u have installed ur SDK ..
    C:\symbian\9.1\S60_3rd\S60Ex etc .... replace 9.1 with ur SDK version or folder

  8. #8
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    136

    Re: Help with socket programming - Client Side

    Quote Originally Posted by Eugene_200 View Post
    I am using S60_3rd_FP1 sdk.... can you give me the exact path to the example?
    this is path for FP1 on my machin
    C:\symbian\9.2\S60_3rd_FP1\S60Ex\SIPExample\socketengine
    Hope this helps

Similar Threads

  1. Replies: 1
    Last Post: 2007-09-25, 03:42
  2. Problems with socket connection between client and server
    By Al_KaRaJo in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-11-15, 18:28
  3. problem in persistant socket connection
    By poms4symbian in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-01-03, 13:23
  4. Replies: 0
    Last Post: 2005-09-20, 03:58
  5. Socket and thread issues with UI programming
    By mcloke74 in forum Symbian
    Replies: 3
    Last Post: 2005-06-30, 09:13

Posting Permissions

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