UDP based packet transmission problem?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • plowgrammer2010
    New Member
    • Jun 2009
    • 12

    UDP based packet transmission problem?

    I have simple udp client and server using UdpClient class in .net frame work 2.0
    My Ip address is 192.168.5.20
    and client ip address is 192.168.1.25 and we client pc and mine are on same network
    When i tried to send udp packet from client to server exception occurs: "A socket operation was attempted to an unreachale host 192.168.5.20:10 080..."
    But when i change my(server) IP address to "192.168.1.20" communication is fine.
    How i can solve this problem or,how i can send packets other than my domains ip addresses.

    Paul Dave.
  • plowgrammer2010
    New Member
    • Jun 2009
    • 12

    #2
    plz...

    please will some one answer or not please help about what keywords i may use to search this topic?

    Comment

    • tlhintoq
      Recognized Expert Specialist
      • Mar 2008
      • 3532

      #3
      Originally posted by plowgrammer2010
      please will some one answer or not please help about what keywords i may use to search this topic?
      Dude... You posted your question at 00:38 hours, then plead for help 4 and a half hours later at 5am. Give people a chance to wake up in the morning and have a cup of coffee.

      Comment

      • tlhintoq
        Recognized Expert Specialist
        • Mar 2008
        • 3532

        #4
        Originally posted by plowgrammer2010
        I have simple udp client and server using UdpClient class in .net frame work 2.0
        My Ip address is 192.168.5.20
        and client ip address is 192.168.1.25 and we client pc and mine are on same network
        When i tried to send udp packet from client to server exception occurs: "A socket operation was attempted to an unreachale host 192.168.5.20:10 080..."
        But when i change my(server) IP address to "192.168.1.20" communication is fine.
        How i can solve this problem or,how i can send packets other than my domains ip addresses.

        Paul Dave.
        Because you are working inside a private network range, you may be bumping up against filtering behavior from your switch/router.

        Many routers do not let traffic from the 192.168.1.x range go outside of itself. Are the two computers on the same router?

        Comment

        • plowgrammer2010
          New Member
          • Jun 2009
          • 12

          #5
          re

          Thanks, for your reply and suggestion
          both computers are on same network, the application where i am developing here are only 3 computers attached with switch.
          and where i have to implement this there is no router(small network).

          Comment

          Working...