• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

UDP firewall

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi:

we have a serious problem on our UDP server, which receives data from
our client, but sometimes there just too much spam (same messages send to our
server at same time, or during a very short period).

my question is, what's the most efficient way to filters or block such spam,
I mean in the socket level.. I expect detailed answer, code sample would be much appreciated.

Shanyangqu
Many Thanks
 
Ranch Hand
Posts: 3389
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by junchen liu:
Hi:

my question is, what's the most efficient way to filters or block such spam,
I mean in the socket level..



By checking the content before you really push it into the stream would be of some help!

Detailed Program/Explanation? What API are you using? WinSOCK API or C Socket API? If you get to know the concepts, implementing it in the programming languages would not be a big deal!
reply
    Bookmark Topic Watch Topic
  • New Topic