socket programming c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nagasrinivas05
    New Member
    • Feb 2008
    • 8

    socket programming c#

    hi all,
    i am using socket programming to display status using class socket my application is working fine when i set the port no as 8221 and when i use the same applcation in another location then it is throwing the error as
    "a request to send or receive the data was disallowed because the socket is not connected and (when sending a datagram socket using a sendto call) no address was supplied" .
    pls help me as soon as possible
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    What relevant code do you have for this?
    Is your socket a UDP socket, did you supply a send address?
    If your socket is not UDP, did you remember to connect it?

    Comment

    Working...