My guess is that you haven't turned on "NetLib Redirection" in the preferences
dialog. When you do this, Poser patches out NetLibOpen. The first line of the
patch sets whichInterfaceErred to zero. Since it's not coming back as zero, it
seems like the patch is not activated.

To all: I'm trying to remember if there's a good reason for having NetLib
Redirection turned off. Does anyone have such a reason? Perhaps I should turn
this on all the time and remove the preference.

-- Keith Rollin
-- Palm OS Emulator engineer






Vineel Shah <[EMAIL PROTECTED]> on 04/21/2000 11:02:39 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  Vineel Shah <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/HQ/3Com)
Subject:  POSE TCP/IP problems with NT/Win2K but not with Win98



I had a "but it worked on my machine" experience today. I wrote a small
TCP/IP socket program for the Palm, basically modified sample code from the
O'Reilly book, that opened a socket to a server (written by me in Win C++)
and sent a test string. It worked great on my Win98 machine at home, but it
couldn't connect the socket on the Win2k and NT machines at the office. My
home machine isn't on a LAN and my office machines are, so that may have
been the difference. Or it could OS issues. Does anybody know or have any
experience with this?

I tracked the different behavior back to this code...

     if (SysLibFind( "Net.lib", &AppNetRefnum) == 0) {
          error = NetLibOpen(AppNetRefnum, &whichInterfaceErred);
          . . .

On the Win98 machine, whichInterfaceErred is 0 after the NetLibOpen line.
(According to the debugger.) On the other machines, it had a nonzero value
(unfortunately I didn't mark the actual values.) I know this means that
some "interfaces" for the net lib didn't open correctly. But how do I find
out which ones? And why they didn't open? I couldn't find that info in the
docs. Any help would be greatly appreciated.

Vineel Shah
programmer around town


--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palm.com/devzone/mailinglists.html






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to