Hmm, that's odd. I did some work on the custom network interface for the
1740, so I might be able to help you out here. To clairify:
NetLibOpen()
NetLibSocketOpen()
...
NetLibSocketClose()
NetLibSocketOpen()
NetLibSocketConnect() <-- FAILS
right?
I'm curious if this works:
NetLibOpen()
NetLibSocketOpen()
...
NetLibClose() // should close your sockets for you
NetLibOpen()
NetLibSocketOpen()
If so, I think I might know what's going on. Please let me know how it
goes.
-Jeff Ishaq
The Windward Group
> -----Original Message-----
> From: James Lynes [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 23, 1999 12:43 PM
> To: [EMAIL PROTECTED]
> Subject: What does netErrNoInterfaces (x1212) mean from a
> NetLibSocketConnect?
>
>
> Hello,
> Using CW for Palm from windows, my palm program is opening
> and connecting a
> socket (NetLibSocketOpen, NetLibSocketConnect) to an NT box
> from my SPT1740
> (Symbol's new Palm III with wireless Ethernet).
>
> I init the Net.lib library, connect through the network, and
> start sending
> and receiving traffic fine. However, after I close my socket
> (NetLibSocketClose) and go to open and connect a socket the 2nd time,
> NetLibSocketConnect reports 0x1212:netErrNoInterfaces, which
> I found in the
> NetMgr.h file.
>
> If I call NetLibOpenCount before this problem, it reports an
> open count of
> one (no problem) and I have also tried to call
> NetLibConnectionRefresh to
> make sure that the connection is still fine. What is the
> problem? Why can
> I only establish a socket connection one time after initializing my
> program's net library? And where do I get more info on these
> net-err msgs?
>
> James Lynes, Barcode Data Systems
> Ph:440-808-8888 x18 email:[EMAIL PROTECTED]
>
>