OH

BLOG

Some thoughts about tech

Making a chat tool with TCP Sockets in Processing

"TCP is one of the main protocols in TCP/IP networks. Whereas the IP protocol deals only with packets, TCP enables 2 hosts to establish a connection and exchange streams of data."(http://www.webopedia.com/TERM/T/TCP.html)

I used Node.js to create a TCP network for my IoT Pillow project before, but I never tried Processing to create a TCP network. In my Large Systems class, I recently learned how to make a 2 way communication with OSC. I recreated the simple chat tool I made in OSC with TCP Sockets. Here is a short demo:

Jasmine OhComment