Re: TCP/IP connection via Ethernet
Re: TCP/IP connection via Ethernet
- Subject: Re: TCP/IP connection via Ethernet
- From: Justin Walker <email@hidden>
- Date: Thu, 11 Mar 2004 09:01:33 -0800
On Thursday, March 11, 2004, at 04:51 AM, Livio wrote:
I need to make a TCP/IP connection between two Macs via Ethernet
(using the first as client and the second as server), is it possible?
My settings are:
---TCP/IP control panel---
Connect via: Ethernet
Configure: Manually
IP address: 192.168.1.1 (192.168.1.2 for the second mac)
Subnet mask: 255.255.255.0
Name server address: 192.168.1.2 (192.168.1.1 for the second mac)
Then I have an application that opens an endpoint, binds it to the
local address (192.168.1.1) and finally tries to connect to the second
computer's address (192.168.1.2). It always returns with a
T_DISCONNECT event with error 61 in the reason field of the TDiscon
record.
On the second computer I have the same application listening for the
traffic.
Can anybody tell me what'is wrong (or/and what id missing)?
What you haven't mentioned, and what is important to help diagnose your
problem, is what system are you running? System 6? 9.2? 10.3?
Also, you are the only one who can tell us what error 61 means. To do
this, you need to look at the error codes in the header files for the
system you are running on.
The fact that you got a T_DISCONNECT may mean that the remote host send
a TCP RESET when you initiated a connection, which indicates that there
is no listener. The error code will tell you the real reason.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | It's not whether you win or
lose...
| It's whether *I* win or lose.
*--------------------------------------*-------------------------------*
_______________________________________________
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.