tcpip

Need for IP address

Why do we need an IP address when the MAC address is unique? Cant we communicate only with the MAC address? ...

Multi threaded client server

Hi I am working on an assignment writing multi threaded client server. So far I have done is open a socket in a port and forked two thread for listening and writing to client. But I need to connect two type of clients to the server and service them differently. My question is what would be my best approach? I am handling connection in a...

Load-Balancing between Web-Server and FastCGI-Interface

Instead of installing a web-server on every machine I'm thinking about load-balancing at the fastcgi-level. Fast-CGI has the ability to go over a tcp-ip-connection to another server. This means (for e.g.) the lighttp is running on one machine and the php-fastcgi is running on another machine. Is there a http-server with a built-in fastcg...

Socket re-connection failure

System Background: Its basically a client/server application. Server is an embedded device and Client is a windows app developed in C++. Issue: After a runtime of about a week, communication breaks between client/server, because of this the server is not able to connect back to the client and needs a restart to recover. Looks like Syst...

How do I install p4d on a remote server through ssh as a root?

I am trying to install p4d through ssh in a remote server as a root. I have the p4d executable file, but I don't know how to specify the TCP/IP port to p4d. Can you help me out? ...

Help with sending text thou TCP/IP or LAN

Hey all i am trying to send a text message from a virtual machine (VMWARE) to my local machine so that i can hit a button in the VM and have it do something on the local. Is there anyway to send a text through an IP, TCP/IP, LAN using VB6 or VB.net? I was looking at the net send to send something but it doesn't seem to work for me (as w...

Question about TCP and how to assemble TCP segments meaningfully

Hi, When an application such as a web server sends HTTP data to a web browser, how does the browser know when it has received all of the data so that it can begin using it instead of waiting for more? TCP doesn't specify anywhere how large a segmented message is going to be. Right now I'm thinking that it's up to the application layer...