9

I require to test my UDP program using echo server. I have tested this application in LAN but now I require it to test it in Internet.

Is there and globally recognize freely available well known ECHO server that I can use directly in my application ?

Please help, thanks....

EDIT I already have a java based Echo Server program which I run on my desktop and connect the mobile using Wifi. Now I want tho check the app for Internet so I need the IP an port of some live server much like the DayTime service, provided by some IPs.

Amit
  • 211
  • 1
  • 2
  • 7
  • 1
    I was looking for one of these recently, and found none. I think the minimum way of doing it involves getting your own server (eg from Amazon) – pjc50 Apr 25 '12 at 12:39
  • I was looking for UDP public server that will report me back my source port. I found http://www.tcpbin.org/ but apparently they are down or my NAT is more restrictive. – ony Aug 26 '18 at 08:55

2 Answers2

2

Most unixes (and linuxes) have one built into xinetd, the "Internet Superserver". Shove these lines in /etc/xinetd.conf and restart the service

echo   stream  tcp     nowait  root    internal
echo   dgram   udp     wait    root    internal
Tom O'Connor
  • 27,440
  • 10
  • 72
  • 148
1

Rahul,

If you can install python and the Twisted module I highly recommend running this simple script to create your UDP echo server.

http://twistedmatrix.com/documents/current/core/examples/echoserv_udp.py

Google Python Twisted for more information or hit me back here.

I hope this helps,

dc

dc5553
  • 332
  • 1
  • 9
  • 1
    Why? When there's a builtin one? – Tom O'Connor Apr 25 '12 at 13:38
  • Life is all about choices and this one works for Windows, Linux, and MAC. – dc5553 Apr 25 '12 at 13:41
  • 1
    Nitpick - "MAC" is Media Access Control, or maybe something else. It's capitalized because it's an acronym. "Mac" is a shortening of Macintosh. It's not capitalized because it's not an acronym. – mfinni Apr 25 '12 at 13:51
  • I would hope the with context clues the user would be able to extrapolate that in this case MAC == Macintosh. But thanks.. – dc5553 Apr 25 '12 at 14:30
  • 1
    Assume nothing. Especially when dealing with users. – Tom O'Connor Apr 25 '12 at 16:12
  • 1
    dc5553 - I didn't think anyone would think you were referring to anything else. It was a nitpick, because I was trying to make you look better in the future by using the proper terminology :-) It's like still talking about PDCs in active directory. Unless you're talking about the PDCe FSMO role, there's no such thing and someone mis-using the term looks less professional. – mfinni Apr 25 '12 at 16:55