TCP/UDP in java package
Posted on 2003-11-08
Is there such thing as a TCP class in the java package? Suppose if I want to send the data over a network using TCP or UDP. For would I decide which one I want to use? I know that you can implement your own protocol but if you want to use TCP or UDP, how is that possible? I wanted to know since I couldn't find a class related to TCP or UDP in the java package. A little explanation on how this works is appreciated. Thanks.