Question : UDP to TCP + visa versa

Can UDP packets be sent to a TCP socket?

If not then Is it possible to convert UDP packets into TCP packets and visa versa?

would I need some intelligent software or is pretty basic to code it? if so then could I have examples? and if possible - in PHP!!

Many thanks

Answer : UDP to TCP + visa versa

UDP and TCP are not the same animal TCP is going to acknowledge reciept of a packet UDP is best effort delivery.  Now you can encapsulate UDP in TCP through a GRE tunnel but the far side computer will not send back an acknowledgement. the device doing the encapsulation however will continue to communicate with the other device.

there is a product out there called reliable multicast still udp but checks the file size and other stuff when done. But because most programs and OS's don't deal with the IP stack it is more the Driver and such or embeded in the OS that you really can't change this without custom programing.

Thanks
Scott
Random Solutions  
 
programming4us programming4us