vk i am stuck here.
vk could you give me a brief idea of what exactly is
vk NetLibSelect for..some fellow programmer suggested to use
vk this...idont have the PlamOs network Programming book by Greg
vk Winton to refer.
Ben meant that everyone doing NetLib implementation has to get and to
read the
In my network application on Simulator5 using codewarrior8.0 ,i am using
NetLibReceive function call , and the returned value is -1 , PalmOs API
References says that this is because The remote host shuts down the socket?
Why is this happening?
i am unable to understand!
can i use some
check your code on device only (not simulator)
vk In my network application on Simulator5 using codewarrior8.0 ,i am using
NetLibReceive function call , and the returned value is -1 , PalmOs API
References says that this is because The remote
vk host shuts down the socket?
vk Why is this
i am new to Palm Network programming.
suggestions are welcomed!
Get and read the O'Reilly book Palm OS Network Programming... it's my
favorite guide to NetLib usage on the device.
-- Ben Combee, Senior Software Engineer, palmOne, Inc.
Combee on Palm OS weblog: http://palmos.combee.net/
What is returned by the errP parameter in the NetLibReceive call? This will
give you a better idea of why NetLibReceive is unhappy.
Setting non-blocking mode is accomplished by:
flag = true;
i16Result = NetLibSocketOptionSet(u16libRefNum, i16socketRefnum,
netSocketOptLevelSocket,
thanks for the reply.
errP parameter in the NetLibReceive call does not return any error i have
checked for all the possible error values.Thats the most surprising thing...i
will try with the nonblocking method now and lets see if that solves my
problem.Thanks a lot.
regards
versha
--
For
i tried the NetLibSocketOptionSet(parameters as nonblocking) - after
NetLibSocketOpen and before NetLibSocketConnect - i am getting netErrWouldBlock
error in NetLibSocketConnect.
In NetLibreceive the return value is 0 i.e the socket has been shutdown by
remote host...the errP parameter here