how would this be done?

would it be stated in the function? e.g. port == kinda thing?

trouble is the ip address of the pc is going to be differnt on each pc as it will be used on my uni network, so really i need a way for the program to find the computers ip address and what not