PDA

View Full Version : AEE_NET_EADDRINUSE error in ISOCKET_Connect


flarb
04-21-2002, 04:11 PM
I have a simple Winsock console server application running, which is listening on port 50000 for a stream connection.

When running my BREW client applet in the emulator, it attempts to call ISOCKET_Connect on 127.0.0.1 port 50000, but the callback gets the error AEE_NET_EADDRINUSE.

What exactly does this error mean? Are there any weird issues with the emulator when trying to connect to localhost?

The server works fine, I've tested it with telnet and sent bytes to it without a hitch.

flarb
04-21-2002, 09:46 PM
D'oh. Nevermind. I forgot to convert my port number to network byte order. Now it works.

rgsnv
10-22-2002, 01:53 PM
Hi

I am facing problem to connect. If you have sample code for converting ipaddress /port number into byte order. can you send it to me.

Thanks
PRasad