Re: vb.net and sockets bug?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello,

please post your code here.

Best regards,
Henning Krause

"buc" <bucrepus@xxxxxxxxxxxxxxxxxx> wrote in message news:%23$fZOhMdHHA.1000@xxxxxxxxxxxxxxxxxxxxxxx
Yes, I bind to a port, for example 9001, and 9001 is placed into the packet as the destination port, but the source send port is in the 2000 range. This appears to be a bug, and is easily reproducable with only a few lines of code. Even example code from the MSDN. I tried the same code on XP or 2003 server platform with the same results.
BUC

"buc" <bucrepus@xxxxxxxxxxxxxxxxxx> wrote in message news:uBnKlcKdHHA.2068@xxxxxxxxxxxxxxxxxxxxxxx
Why does VB.NET UDP sockets send data on random ports?. If I set a simple socket up to transmit a UDP packet on a port, look at the packet with a sniffer, the actual packets source port and dest.port are diff. The packets destination port is correct, but the packets source port it is actually sent from is random. Why? How can I figure out the actual source port windows is using, not what the vb.net socket is fake reporting?
Thanks BUC





.



Relevant Pages

  • PATCH: Remove file riowinif.h from rio driver (unused file)
    ... -/* The RUP (Remote Unit Port) structure relates to the Remote Terminal Adapters ... - CONFIG is sent from the driver to configure an already opened port. ... - Packet structure is same as OPEN. ... - of the specified port's RTA address space. ...
    (Linux-Kernel)
  • Re: General questions about Sockets
    ... > could I push it before I see the network slowing down and/or errors? ... Nagle/Delayed ACK interaction but you could confirm it with a packet ... > I can setup any port in my registry, but what would be the 'default' one I ... Google could confirm it. ...
    (microsoft.public.win32.programmer.networks)
  • RE: Strange replies on closed port
    ... port should be a RST - not dropping the packet. ... receiving an UDP datagram to a non 'listening' port. ... that message isn't generated by the end host, ... Connecting to a closed Port w/o Firewall: ...
    (Pen-Test)
  • Re: Please help me interpret a suspicious netstat SYN_SENT TCP port 1058 ?
    ... Your system initiated a connection. ... your computer sends a TCP packet with the SYN ... Process 912 on your system sent a packet from port 1058 ... hoping to connect to the web server running on port 80 ...
    (comp.security.firewalls)
  • Re: Full Plate of Crow
    ... upsurges in port 80 probes and actually ... > firewall is only telling it dropped a packet, not what was in the packet. ... infections based on the data Caida collected. ... > firewall logs, not IDS logs. ...
    (Incidents)