MSullivan wrote : > if I'm understanding correctly... I wouldn't bet on that... > not sure I am because is not > working...... I have a local network.... on it are a laptop... a > desktop.... the PIC card I am developing code for.... and a router > connected to a cable modem to the internet... the PIC card > address is > 192.168.0.20 ... desktop 192.168.0.2 ... laptop > 192.168.0.10 ... > router 192.168.0.1 ..... and the mailserver IP is 32.x.x.x .... > > so I ARP request and get a respone... What response ? > then send SYN Where to ? > through TCP client..... > > and should get back an ACK flag.... but instead I get back > RST (reset) flag.... Now, you do know how IP routing works, right ? In short, your "client" should see that the target IP address is outside the local netmask, and then send the request (route) through your router. Now, does the PIC software support routing ? > > because the mailserver is outside the 255.255.255.0 mask > (ie 32.x.x.x compared to 192.x.x , the LAN router addres > is used ? to ARP? to send SYN to mailserver IP? In a way... ...I think... Jan-Erik. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics