hello i have to write TCP socket program that mimic SSL handshake protocols

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Aug 2009
Posts: 1
Reputation: baal3 is an unknown quantity at this point 
Solved Threads: 0
baal3 baal3 is offline Offline
Newbie Poster

hello i have to write TCP socket program that mimic SSL handshake protocols

 
0
  #1
Aug 26th, 2009
hello i have to write TCP socket program that mimic SSL handshake protocols. and I do not know where to start
my socket programs for Client and Server should be able to communicate with each other. and I want Demonstrate this by sending a packet from Client with the phrase “Hello Server” in it. Upon receipt the Server will send a packet back saying “Hello Client”.

After that I want send a formal “client_hello” message from Client
to Server. This packet should contain the fields required by the SSL
Handshake Protocol (Version, Random, Session ID, CipherSuite,
Compression Method). It is not important that I get all details of these fields correct.

I have chat program that run between client and server, Can I just change a little bit of this chat program to creat socket program that mimic SSL handshake protocols? If so how?

and is there any web site that contains some examples of socket program like these?
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 751
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: hello i have to write TCP socket program that mimic SSL handshake protocols

 
0
  #2
Aug 27th, 2009
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC