recv can not block
Tue, 16 Sep 2008 19:49:01 -0700
I'm writing a client program on PPC. I have no idea why it can not block at
the recv function.
iResult = send (m_socket, reinterpret_cast<char *>(pData), iLength, 0);
// block until receive the responds from the server
iResult = recv (m_socket, temp, sizeof(int), 0);
the socket family is AF_INET, socket t ...
|
WireShark to identify broadcast message
Mon, 15 Sep 2008 15:42:55 +0200
I want to use WireShark to identify broadcast messages in my LAN.
Is it possible and how?
Regards
Ronny
...
|
joining link level (e.g. Ethernet) multicast group.
Mon, 15 Sep 2008 03:41:42 -0700 (PDT)
Hi,
How can we do this i.e. join link level multicast group (ethernet) on
Windows? It seems there are IOCTL calls on other operating systems
that can achieve this. Is it possible to do the same on Windows ?
Thanks in advance,
--
Best Regards,
Ranjan Sinha ...
|
netstat -p udp
Sun, 14 Sep 2008 09:53:45 +0000 (UTC)
Hi.
Just a quick question. I'm wondering what is the purpose of the
following command:
C:\>netstat -p udp -n -a
I mean, the information dumped by this command is what? UDP connections?
But UDP is stateless, doesn't it? So it doesn't have anything called "a
connection". I read somewhere that these lines a ...
|
how to adjust tcp/ip settings automatically on login
Fri, 12 Sep 2008 09:22:53 -0400
Hi.
I have a windows xp workstation thats on a windows 2003 domain named
DOMAIN1. There's a trust relationship between DOMAIN1 and DOMAIN2 (another
widnows 2003 active directory domain). Each domain has its own DNS server
with its own Forward and reverse lookup zones; some of the zones exist on
the o ...
|
Determine non-wireless network cards
Fri, 12 Sep 2008 04:00:20 -0700 (PDT)
Hello,
I want to write a small DLL (in C++) which returns a MAC address of
the running machine. But the point is that I need only the MAC address
of built-in "wired" network card. I want to ignore all kinds of
wireless cards, like Bluetooth, Wi-fi etc. Also I want to ignore all
kinds of external cards (like P ...
|
HTTPS Tunnel: how-to write...
Thu, 11 Sep 2008 23:04:27 -0700 (PDT)
The product I'm working on needs to send/receive UDP packets from
Windows XP/Vista clients to our Windows 2008 servers under most
conditions. The main issue we have is where our packets are either
blocked or not routed back properly due to external network. I've
been researching HTTP(s) Tunnels to find a solut ...
|
|
|
Programmatically using ping (IcmpSendcho2 and IcmpParseReplies)
Thu, 11 Sep 2008 17:59:00 +0200
The "blessed" way to send ping messages, and the only nonprivileged way to
do it in Vista, is to use a variant of IcmpSendcho.
Unfortunately, you can run into a lot of trouble with these functions. They
are poorly documented.
Because of that, you might have a program crash, or your app might not
register a v ...
|
GetIfEntry does not return correct mtu size.
Thu, 11 Sep 2008 07:53:24 -0700 (PDT)
Hi,
I set mtu value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
\Tcpip\Parameters\Interfaces\<AdapterID> and restart the system.
But GetIfEntry does not correct modified mtu value it always returns
1500.
If I see packet tcp capture them MSS in syn packet shows correct
modified mtu value.
Ple ...
|
Dynamically changing MTU of an adapter
Thu, 11 Sep 2008 07:13:21 -0700 (PDT)
Hi,
Is there a way of dynamically changing MTU of an adapter on the fly?
Any OID value that can be sent to NDIS(TDI/ anything else ) that can
achieve this ?
I am developing an application where this feature is required and
changing MTU through registry is well, not a valid solution. If need
be then we can ...
|