Question on java Socket
Hi all
My question is: if i make a socket connection between two computers,offcoure one is server socket and other is simple socket, then when i use printstream for that socket to write on it like
PrintStream p= new PrintStream(so.getOutputStream());
now i write like p.println(); here i am writing on port...and other port of client side listening to it, then in this whole work ,IS TCP/IP comes in picture?
if yes then i don't want that TCP/IP initiate itself , i want to make my own protocol for two computer to talk then how to start , guide me....?keep in mind that i am only using socket...
My question is: if i make a socket connection between two computers,offcoure one is server socket and other is simple socket, then when i use printstream for that socket to write on it like
PrintStream p= new PrintStream(so.getOutputStream());
now i write like p.println(); here i am writing on port...and other port of client side listening to it, then in this whole work ,IS TCP/IP comes in picture?
if yes then i don't want that TCP/IP initiate itself , i want to make my own protocol for two computer to talk then how to start , guide me....?keep in mind that i am only using socket...
0