To people with c,c++ or java backgroung or equivalent..
TCP is stream based. So what happens when I send a TCP message? Does it only adds to a buffer and send a some predetermined interval I can't control? With UDP a message nomatter how big it is, it is sent when you run sendto( Data$ , IP , Port). But I'm unsure if TCP acts the same. And if TCP send() does not actually send one message how would I receive that message intact? Or is all this done under the hood? So that what I send and recv is like complete messages, what if I send one byte at a time? What happens if I send TCP messages on a UDP_Socket? Do I send UDP messages then? or is it a connectionless TCP? Soo strange.. Can't find any information about it. Why would I use Connect on a UDP connection? To determine if it exists only? And what does the optional Flags do?
TCP is stream based. So what happens when I send a TCP message? Does it only adds to a buffer and send a some predetermined interval I can't control? With UDP a message nomatter how big it is, it is sent when you run sendto( Data$ , IP , Port). But I'm unsure if TCP acts the same. And if TCP send() does not actually send one message how would I receive that message intact? Or is all this done under the hood? So that what I send and recv is like complete messages, what if I send one byte at a time? What happens if I send TCP messages on a UDP_Socket? Do I send UDP messages then? or is it a connectionless TCP? Soo strange.. Can't find any information about it. Why would I use Connect on a UDP connection? To determine if it exists only? And what does the optional Flags do?