Re: BSD Sockets > 1024
Re: BSD Sockets > 1024
- Subject: Re: BSD Sockets > 1024
- From: Vincent Lubet <email@hidden>
- Date: Thu, 9 Jan 2003 00:17:00 -0800
You must have a firewall enabled on one of your machine.
Vincent
On Wednesday, January 8, 2003, at 04:30 PM, Robert Kuilman wrote:
Hey all,
I started writing some network code under MacOS X 10.2.3, trying to
listen to a port > 1024.
first, 8600 was my target (because i love the machine) but then, that
wasnt working, i tried 12345, which wasnt working either.
i wrote the 'listen' part looking at
http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS2WD-
TET1_html/netprog10.html#co_id_153_3
all goes okay, i don't get any errors, and connecting to 127.0.0.1 goes
just fine, but as i try to connect from a different machine (using
telnet as well)
it won't work.
local_address.sin_family = AF_INET;
local_address.sin_port = htons(12345);
local_address.sin_addr.s_addr = htonl(INADDR_ANY);
then binding it, exactly as told in the howto, but it just wont work,
looking with netstat -an it shows the port is binded just fine:
% netstat -an | grep 12345
tcp4 0 0 *.12345 *.*
LISTEN
%
anyone got any suggestions on how to solve this problem ?
Robert K.
web: http://halfduplex.net/
email: email@hidden
-----------------------------------------------------------------------
-
---------------------
"All aninimals are equal, but some animals are more equal than others."
- George Orwell - 1945
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.