And if it is on the simulator maybe you don't have the "settings->communication->redirect netlib calls to host tcp/ip" selected?
/************************************************** Heath Schaefer Product Engineer Sporlan Division, Parker Hannifin Corporation 636.239.7711 x243 **************************************************/ Ryan Dorn <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/28/2008 01:32 PM Please respond to "Palm Developer Forum" <palm-dev-forum@news.palmos.com> To "Palm Developer Forum" <palm-dev-forum@news.palmos.com> cc Subject Re: Server sockets (Treo 650) Ahh right. I don't work with non-blocking sockets too often, so I forgot about how they worked. Just throwing ideas up in the air... are you testing the application in the simulator or on the actual device -- If from the device, could it be some kind of port being blocked from the ISP? I haven't really heard of any of them doing that, but I'm not sure what else would be the problem. --- [EMAIL PROTECTED] wrote: > I think her error would be "netErrWouldBlock" then > if that was the case. > > I could be wrong! > > > > /************************************************** > Heath Schaefer > Product Engineer > Sporlan Division, Parker Hannifin Corporation > 636.239.7711 x243 > **************************************************/ > > > > Ryan Dorn <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 02/28/2008 12:09 PM > Please respond to > "Palm Developer Forum" > <palm-dev-forum@news.palmos.com> > > > To > "Palm Developer Forum" > <palm-dev-forum@news.palmos.com> > cc > > Subject > Re: Server sockets (Treo 650) > > > > > > > Oh, I guess I don't know very much about how it > works > then -- Does NetLibSocketAccept block even if you > set > the socket to be non-blocking? > > --- [EMAIL PROTECTED] wrote: > > > According to the documentation: > > Accepts the next connection request from a remote > > client. This call is > > only applicable to stream-based sockets. Before > > calling NetLibSocketAccept > > on a socket, a server application needs to: > > Open the socket (NetLibSocketOpen()). > > Bind the socket to a local address > > (NetLibSocketBind()). > > Set the maximum pending connection-request queue > > length ( > > NetLibSocketListen()). > > NetLibSocketAccept will block until a successful > > connection request is > > obtained from a remote client. After a successful > > connection is made, this > > call returns with the address of the remote host > in > > *sockAddrP and the > > socket descriptor of a new socket as the return > > value. You then use the > > new socket to send and receive data. > > > > If you're doing all that and in the same order > then > > I would look to your > > client? > > > > > > > /************************************************** > > Heath Schaefer > > Product Engineer > > Sporlan Division, Parker Hannifin Corporation > > 636.239.7711 x243 > > > **************************************************/ > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > -- > For information on using the ACCESS Developer > Forums, or to unsubscribe, > please see > http://www.access-company.com/developers/forums/ > > > > ----------------------------------------- > "PLEASE NOTE: The preceding information may be > confidential or > privileged. It only should be used or disseminated > for the purpose > of conducting business with Parker. If you are not > an intended > recipient, please notify the sender by replying to > this message and > then delete the information from your system. Thank > you for your > cooperation." > -- > For information on using the ACCESS Developer > Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/ ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/ -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/