开发者

implement chargen (Character Generator) protocol in C# or java

I am currently working on one of my college project which requires the implementation of char gen protocol. I need to write a program which will first take the IP address of any host and then it will check that the sp开发者_如何学编程ecified host (whose IP is given as input) supports chargen protocol or not; if that host supports chargen protocol then the program should send chargen requests at port 19 of the remote host and it should also read the reply (characters generated by the host) coming from host. Now the problem is that I don't have any idea about how to implement it in either C# or java; I guess that .Net don't provide any support for this type of stuff; I am not sure about java.

Can anyone please give me any hint on its implementation or is there any external library available which can help me?


  1. Get familiar with the Character Generator Protocol.
  2. Study TCP sockets support in .NET.
  3. Code your homework :-)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜