handshake

How to detect an incoming SSL (https) handshake (SSL wire format)?

I'm writing a server which is accepting incoming TCP connections. Let's suppose the server has accepted a TCP connection, and has already received 16 (or so) bytes from the client. Knowing those 16 bytes how can the server detect whether the client wants to initiate an SSL handshake? I've made an experiment, which showed that on my Linu...

RED5 Server connection timeouts although server is running

Hi, I have a problem with the red5 server. I was able to install ist and connections to http://MYIP:1935/ are recognized in the logs. When try to connect in browser to http: //MYIP:1935/oflaDemo/avatar.flv I get a file saving dialog (Filesize 0byte) Opening rtmp: //MYIP:8081/oflaDemo/avatar.flv in FLV Player produces the following erro...

Implement 3 way handshake for TCP in Java

Hello all, I want to implement TCP protocol using Java. I've read Sun documentation and examples but all of them simply open a socket, client waits for server to accept the connection and then sends data. I wonder how I can implement the three way handshake and data validation using Java? How do server and client exchange sequence nu...