All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped
Prev Previous Post   Next Post Next

  #1  
Old 07-05-2004, 07:18 AM
Mack Mack is offline
Registered User
 
Join Date: Nov 2002
Posts: 32
Mack is on a distinguished road
Listening on port problem (TCP)


RSocketServ iSocketServer;
TRequestStatus iStatus;
RSocket listener;
RSocket acceptor;

TInt errol = iSocketServer.Connect();
listener.Open(iSocketServer,KAfInet,KSockStream,KP rotocolInetTcp);

TInetAddr a;

a.SetPort(6622);
listener.Bind(a);
TInt listenStat = listener.Listen(1);
TInt acceptOpen = acceptor.Open(iSocketServer);
listener.Accept(acceptor,iStatus);
User::WaitForRequest(iStatus);

//Never gets anything to accept

acceptor.Close();
listener.Close();
iSocketServer.Close();


It never gets any data even though it is sent. What is wrong?
 

Bookmarks

Tags
listening, port, problem, tcp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unusual problem with pc suite Tatuagem Nokia 3650, 3660, and 3620 35 10-08-2004 12:31 AM
BlueTooth problem Sony Ericsson P800, P900 and P910 32 14-03-2003 09:44 AM
USB infrared Com port problem Neo_lyptic2002 Nokia 7650 7 31-01-2003 11:44 AM
what port do bemused operates? mjsee Nokia 7650 5 26-11-2002 09:22 AM



All times are GMT. The time now is 11:45 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy