tcpip

Resources for utilizing tcp-ip, sockets, etc using .NET 2.0?

Where could I find good resources and examples for learning how to utilize TCP/IP in c# 2.0? Any suggestions on where to start? I'm pretty new at socket programming. ...

If I read/write to a TCP socket that is on localhost, will that avoid firewalls?

If I want to open a TCP socket between 2 processes on the same computer, will having the server run on localhost and the client connect on localhost be safe from any firewall intervention? ...

tcp msl timeout implementation in linux

The following is given in the book TCP IP Illustrated by Stevens Quiet Time Concept The 2MSL wait provides protection against delayed segments from an earlier incarnation of a connection from being interpreted as part of a new connection that uses the same local and foreign IP addresses and port numbers. But this works ...

Where can I find a good tutorial for using the BeginAcceptTcpClient method of a TcpListener?

I'm confused on how to use BeginAcceptTcpClient and how to set up my AsyncCallback and the state object. MSDN doesn't provide a comprehensive enough example for using this for me. How do you get the TcpClient object using this methodology? ...

What is the most updated book on programming TCP/IP sockets with Perl?

What is the most updated book on programming TCP/IP sockets with Perl? ...

flow-tools protocol numbers

When using flow-print to print the netflows into ASCII, I get 3 different values for protocols, ie protocol 1,6,17 ? What does that mean ? Thanks ...

About checksum of TCP/IP layer

Has anyone tested what will happen if checksum doesn't match? Will the packet be ignored directly? Suppose it's HTTP protocal at the application layer. ...

Searching for patterns to create a TCP Connection Pool for high performance messaging

I'm creating a new Client / Server application in C# and expect to have a fairly high rate of connections. That made me think of database connection pools which help mitigate the expense of creating and disposing connections between the client and database. I would like to create a similar capability for my application and haven't been...

How to detect Internet Connection Sharing through sniffing?

I'm sniffing my current connection, but I have a second computer linked to mine with ICS. And my application makes no difference between the two. How can I detect the second one and filter it? ...

best tool for monitoring incoming/outgoing requests (PC/MAC)?

What are the best tools for monitoring incoming/outgoing requests from a PC or MAC? Any tool that works well on both? (my guess is N/A) I'm interested in capturing HTTP (possibly even TCPIP)-based requests and responses. Does Wireshark always come out on top or are there alternatives people feel are better? Thanks for any info. ...

Why can't the server get the client MAC address, like the client IP?

From what I know, all the MAC addresses that the packet gone through are in the packet. This is because that each packet that goes in a certain path, should also be returned in similar path. So, if the router of the server know about the mac address of the client (all of them), why the server page (like aspx) cannot have this information...

c windows connect() fails. error 10049

The following two pieces of code compile, but I get a connect() failed error on the client side. (compiled with MinGW). Client Code: // thanks to cs.baylor.edu/~donahoo/practical/CSockets/code/TCPEchoClientWS.c #include <stdio.h> #include <winsock.h> #include <stdlib.h> #define RCVBUFSIZE 32 // size of receive buffer void DieWithErr...

Why GPRS modem provides embedded TCP/IP stack

My colleague and I are mining the GPRS MODEM market for a module suitable for use with embedded Linux. During the market scan, we see that several vendors highlight that their MODEMs include an embedded TCP/IP stack. This makes me wonder: when we are using embedded Linux which already contains a TCP/IP stack and connects using PPP, wil...

Delphi hook to redirect to different ip

What is the best way to redirect ANY browser to a different ip for specific sites? For example if the user will type www.facebook.com in any browser he will be redirected to 127.0.0.1. Also the same should happen if he will type 66.220.146.11. What I have until now is this: using the winpkfilter I am able to intercept all the traffic on...

iphone PC TCP/IP connection

Hi I'm looking for the faster and easy way to connect the iphone to the PC with IP/Port connection. Anyone has a good idea? thanks in advance Gilad ...

Accept() method and new socket

On unix system when you call the accept system call, does the newly created socket have a different port number from the listening socket? ...

Sending binary data with Indy through TCP\IP, how?

Hello. How to send a binary data with Indy components? Which of them is most suitable for this task? I've tried to use TIdTcpClient but it allows only to send strings. I've found one reponce for that problem here but I don't get it. It says about method Write(TIdBytes), but the answer is not clear for me. Does he meant Write to some in...

TCP/IP Protocol Book recommendation

I'm looking for a language-agnostic and preferably OS-agnostic book covering the TCP/IP protocol. I'd like to stay away from Cisco technology-centric books or sys-admin type books, and prefer books covering the protocol in detail. In particular I'm looking for a book with coverage on the following topics: IPv6 Multicasting I'm cons...

Does the port change when a TCP connection is accepted by a server?

When a client connects to a server using TCP, a new socket is created for the TCP stream. Does the connection remain on the same port the connection was made or does it get changed to some other port? ...

tcp/ip accept not returning, but client does

server: vxworks 6.3 calls the usual socket, bind, listen, then: for (;;) { client = accept(sfd,NULL,NULL); // pass client to worker thread } client: .NET 2.0 TcpClient constructor to connect to server that takes the string hostname and int port, like: TcpClient client = new TcpClient(server_ip, port); This is working fine whe...