Winsock Kernel (WSK) - Windows Networking Development
Recent update: 2008-3-21

Contacting port with no DNS entry

1004 byte By neilneil2000 at 2008-3-7
Forgive me if you read this and think my title is misleading but I think that is what I mean!?As part of my final year project I have a development board with an ethernet socket that I want to connect to using TCP. I am using th uIP stack by adam dunkels for the networking software on the ...

Vista RTM can't open new socket.

975 byte By BlackTiger at 2008-3-6
Started here.Due to (stupid) limitation in TCP/IP driver (10 half-open connection) sometimes Vista loosing ability to access an internet (open new socket for communication). It happens when user uses P2P applications (BitTorrent, eMule). But in could be caused even by too busy IIS. BUT all ...

Vista RTM can't open new socket.

986 byte By BlackTiger at 2008-3-5
Started here.Due to (stupid) limitation in TCP/IP driver (10 half-open connection) sometimes Vista loosing ability to access an internet (open new socket for communication). It happens when user uses P2P applications (BitTorrent, eMule). But in could be caused even by too busy IIS. BUT all ...

Contacting port with no DNS entry

1004 byte By neilneil2000 at 2008-3-3
Forgive me if you read this and think my title is misleading but I think that is what I mean!?As part of my final year project I have a development board with an ethernet socket that I want to connect to using TCP. I am using th uIP stack by adam dunkels for the networking software on the ...

Async Pluggable Protocols, anyone?

396 byte By Push-A-Button at 2008-3-1
I desperately need help with a problem writing an Async Pluggable Protocol. Can anyone help me? Description of the problem here - http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1266037&SiteID=1 ...

Broadcast address

743 byte By LouRich at 2008-2-28
I need to get the udp/tcp broadcast address for all local transport addresses in the socket's address family. I am not interested in 255.255.255.255. I would like to do a class broadcast. For this I need to figure out the class of the network the adapter is connected to. It would be nice to ...

DnsQuery crashing on successful NAPTR queries

393 byte By GuyLepine at 2008-2-27
We are porting an application using DnsQuery from XP to Vista. Every single successful NAPTR query crashes inside dnsapi.lib under Vista (but not under XP). However, unsuccesful NAPTR queries function normally (i.e. do not crash). We tried to use directly DnsQuery_A, DnsQuery_W and ...

How to lock out a user after a set number of login attempts?

25 byte By Sajankp at 2008-2-26
reply plz.thx in advance.

proceses

228 byte By Sajankp at 2008-2-25
<a title=" http://techdudes.blogspot.com/2007/02/how-to-identify-unknown-processes-in.html" href=" http://techdudes.blogspot.com/2007/02/how-to-identify-unknown-processes-in.html">How To Identify Unknown Processes In Windows</a> ?

Vista RTM can't open new socket.

975 byte By BlackTiger at 2008-2-24
Started here.Due to (stupid) limitation in TCP/IP driver (10 half-open connection) sometimes Vista loosing ability to access an internet (open new socket for communication). It happens when user uses P2P applications (BitTorrent, eMule). But in could be caused even by too busy IIS. BUT all ...

Weird one - Router Death by Vista

465 byte By ZardoS42 at 2008-2-23
Here's a weird one.It seems that Vista RC2 is routinely killing my ADSL routerI have a dual boot system (patched up XP Pro vs Vista RC2).Vista seems to be killing my D-Link DSL-500 like...., several times a day while Vista is running.Has anyone else noticed this ?I'm thinking.... some sort of ...

send bitmap file using windows socket

27470 byte By sam_bodrum at 2008-2-22
hi all,I want to send a bitmap file that was witten in VC++ by using socket programming.Firstly I can send message form client to server.But how can I send the file.The code is below ThanksServer part:#include <iostream>#include <winsock.h>#include <windows.h>#include ...

broadcast with unbound adapter

754 byte By dunecan at 2008-2-22
Hi,I am trying to broadcast a DHCP Message with unbound adapter (after ipconfig /release) on windows XP SP2.When I try to send the message, I get the error 10065 (WSAEHOSTUNREACH).I am trying to send the message using Microsoft Visual C++. I have tried using a RAW socket.The Message is ...

Getting the local address and mask of attached adapters

319 byte By LouRich at 2008-2-21
I need to get the ip address and the mask of all network adapters in the system. WSKGetLocalAddress() seems to get the address of the setting used in WSKBind(). If you bind to all addresses WSKGetLocalAddress() returns 0. I do not see anywhere where the mask is available. What can I do?Thanks, ...

How can I get Recv-Q/Send-Q of socket?

566 byte By remedios at 2008-2-20
Hi, how can I see of Recv-Q and Send-Q of TCP socket? like below(this is the example of linux)Active Internet connections (servers and established)Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:2601 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:2609 0.0.0.0:* LISTEN tcp 0 0 ...

Setting up FTP on Server 2003

50 byte By Estimator at 2008-2-19
..................................................

how to download multiple files by socket with FTP in .net

418 byte By vbnetdiscuss at 2008-2-18
I am trying to make software like FTP client. on vb.net I Connect with Ftp server and able to download single file at a time by sending command PASV and RETR <filename.ext>while Retriving file i cannot send any command except ABOR. and can't send PASV and RETR again to retrive another ...

Mail Sending

308 byte By Debabrata.debroy at 2008-2-17
Hi can any one give a a winsock program though which i can send mail to my account.Actually i hve to send mail from remote system to my mail.Like i am getting name of reomote PC and i have to get the name into my mail account. Plz send me links where i can get the code .Thanx in ...

Writing IOCP Winsock Application

369 byte By ArtCoder at 2008-2-16
I have at least 1 month trying to figure out how write a simple Application using IOCP, and I don't get it! I readed a lot of sites but no one of them showme how write a simple server.If someone could be so nice of write a Complete (with exceptions, etc) but simple server using IOCP i'll be ...

Weird one - Router Death by Vista

465 byte By ZardoS42 at 2008-2-15
Here's a weird one.It seems that Vista RC2 is routinely killing my ADSL routerI have a dual boot system (patched up XP Pro vs Vista RC2).Vista seems to be killing my D-Link DSL-500 like...., several times a day while Vista is running.Has anyone else noticed this ?I'm thinking.... some sort of ...

Vista - recv / WSAGetLastError never return WSAECONNRESET

532 byte By Locke355 at 2008-2-15
I hope it is ok to post Winsock2 questions in this forum.I have a nonblocking TCP socket which I am calling recv on. After the network cable is pulled out of the back of the machine, the function continues to return -1 & WSAGetLastError returns WSAEWOULDBLOCK for that socket. From looking ...

Winsock dll library multithread problems

1406 byte By NoorulAhmed at 2008-2-15
Hello, I have some problem with classical dll written in vb6 using winsock.Here is the scenario. I have a simple application in vb.net 2.0 that contain two threads. Both thread retrieves mobile numbers from same table and sends the SMS. Both are identical with only difference in that first ...

How to Enable TCPIP.SYS in kernel Mode?

521 byte By navystone at 2008-2-15
Hi, everyone, I want to set the TCPIP.SYS BootStart to zero so it can enable in kernel mode. But it's always hang or raise BOSD.if the TCPIP does not start in BootStart mode, the WSK function of WskCaptureProviderNPI with WSK_INFINITE_WAIT will blocked. I also create a system thread to call ...

Issue with TCP Port 1214...

559 byte By rama_krishnans at 2008-2-15
Hi,I am not sure if this is the right forum to discuss this issue.I have written a client-server application. Server runs on windows-XP and client on Linux. I observed that my Windows machine is not responding to TCP connection requests (TCP SYN) coming from linux when incoming connection ...

socket applications and power management

1262 byte By SaileshRathi at 2008-2-14
Hello,I am trying to understand the affect on socket based network applications when the system moves into S3 state. Would the transition in and out of S3 be seamless for these applications (assuming of course that the wake on LAN, wake on wlan driver/firmware keeps the "other end" ...

Listen On a Certain Port

881 byte By xlordt at 2008-2-14
I dont know if this is the right place for this.. but lets hope so... Im trying to create a simple... app that will listen on a certain port.. but for some reason It listen.. the program starts but.. then it ends... I also dont get any errors.. So Im a big lost here..using System;using ...

configuring ethernet bridge coded... need help asap...

230 byte By cyrix-msu-iit at 2008-2-13
hello guys, i need help on how to configure your ethernet bridge like setting its IP address, subnets etc... using Visual C# or any visuals.. i got know idea what to use.. or any windows API's to be uses.. any idea?... tnx

error 17 in sql server

300 byte By sowjanya at 2008-2-13
hai , using <strong>sqlconnection</strong> string , iam trying to connect to sql server , but it shows me the error " error #17 server doesnot exist or access denied ". pls can anybody help me in this regard . what i have to do to fix this problem. Thanx in Advance ...

Vista RTM can't open new socket.

975 byte By BlackTiger at 2008-2-12
Started here.Due to (stupid) limitation in TCP/IP driver (10 half-open connection) sometimes Vista loosing ability to access an internet (open new socket for communication). It happens when user uses P2P applications (BitTorrent, eMule). But in could be caused even by too busy IIS. BUT all ...

EAP Invalid Pin

427 byte By Jini at 2008-2-11
I produced a Connection Manager client using CMAK, I am using a smart card for authentication (EAP), my problem is as follows. If a user enters an invalid pin they will be prompted for the pin again. I would like to be able to warn the user that they enetered an invalid pin, as the smart card ...

WinSock LSP Problem - Please Help

1633 byte By tomblane at 2008-2-10
Hi everyone, I'm having some difficulty writing a WinSock LSP, I've tried many of the MS samples that are available with different versions of the SDK and while I can get them all to complie and install I can't get them to pass any trafficthrough, its as though I no longer have a network ...

Silly Window Syndrome, how to avoid in C++ code?

570 byte By Marreoragarn at 2008-2-10
I having a problem with Silly Window Syndrome. My program is communicate with TCP on sockets, but it "hangs" after a while. When I used Etherreal I figured out the problem with SWS. But I cant find any solution on the problem. I have loocking for some sample code or practical ...

Winsock/RPC/SSL/Transport error: 0x90312 [SEC_I_CONTINUE_NEEDED]

226 byte By Slava_K at 2008-2-8
I'm working with WinHTTP. WinHttpTraceCfg tool shows me this messages after calling WinHttpSendRequest function. And then I can't get the internet resource. Does anyone here knows how to fix this error? And why it happens?

Vista RTM can't open new socket.

975 byte By BlackTiger at 2008-2-8
Started here.Due to (stupid) limitation in TCP/IP driver (10 half-open connection) sometimes Vista loosing ability to access an internet (open new socket for communication). It happens when user uses P2P applications (BitTorrent, eMule). But in could be caused even by too busy IIS. BUT all ...

Identifying a local IP from internet

410 byte By Eric123456 at 2008-2-7
Hello,When opening a connection to a server we provide an IP adress. How can we identify the server when it is hosted on a LAN connected to internet through a router, the same IP adress beeing splitted over a number of different machines. What if there are two servers on the same LAN with ...

Weird one - Router Death by Vista

465 byte By ZardoS42 at 2008-2-7
Here's a weird one.It seems that Vista RC2 is routinely killing my ADSL routerI have a dual boot system (patched up XP Pro vs Vista RC2).Vista seems to be killing my D-Link DSL-500 like...., several times a day while Vista is running.Has anyone else noticed this ?I'm thinking.... some sort of ...

TDI client/protocol interaction

943 byte By LucaC at 2008-2-7
Hi,I am trying to write a TDI client driver and Protocol driver on Windows Server 2003. I want my protocol driver to report NIC binding ADD/DEL events to the TDI client. I registered for TdiRegisterPnPHandlers in my client . When a NIC binding is added (or deleted) , I call ...

Winsock using Memory Mapped Files

102 byte By WardOnline at 2008-2-7
Does anyone knows if winsock uses memory mapped files under the hood? regards, Ward

Problem with WSAWaitForMultipleEvents does not apparantly cancel its event

1533 byte By ArchieBarter at 2008-2-6
I use LabWindowsCVI version 8.0.1. I set up an event with the lines hWSADataRecv = WSACreateEvent(); intRetVal = WSAEventSelect(intUDPDataSocket, hWSADataRecv, FD_READ); intRetVal = CmtScheduleThreadPoolFunction (hEtherThreadPool, etherDataPortRecv , 0, ...

Time-Out on Overlapped I/O

606 byte By Eric123456 at 2008-2-6
Hello,I am writing a server using completion routine call back on a non blocking ReadFileEx. Can the programmer of the server side rely on the fact that the completion routine will NEVER be called until the client side executes a WriteFileEx? If it is not the case, I guess that the completion ...

LSP install problem

353 byte By Dew777 at 2008-2-5
Hello all!I've been hacking on the LSP (ifslsp) included in the SDK. It compiles fine and all but when I go to run the instlsp.exe I get the error message "RetrieveLspGuid: GetProcAddress failed: 127".What's going wrong?This is compiled and tested on a Windows 2000pro box.Thanks for ...

Feature inqury (WinInet - SOCKS 5)

1404 byte By janca at 2008-2-5
First of all sorry if this message/thread wouldn't appear at the right place, I'm new to the forums, and dunno where to post it. What I'd like to know is whether the WinInet API supports HTTP connections through a SOCKS5 proxy. I've successfully authenticated on a HTTP proxy server, and ...

error 17 in sql server

300 byte By sowjanya at 2008-2-4
hai , using <strong>sqlconnection</strong> string , iam trying to connect to sql server , but it shows me the error " error #17 server doesnot exist or access denied ". pls can anybody help me in this regard . what i have to do to fix this problem. Thanx in Advance ...

The right tool for editing the driver program of the windows2003 DDk

584 byte By Jakein2006 at 2008-2-4
I want to use windows 2003 DDK to do a network driver program, but when I see the sample program of passthruex , I see the following file in the driver folder: miniport.c, passthru.c and .h, I want to know in which tool I should edit the source code?For example, in vc we can open a workplace ...

how to make the port 23 to listen

288 byte By sowjanya at 2008-2-4
hello i want to use port #23 to establish the connection with the remote telnet server. for this , in my system that corresponding Port (23) is not in listen state so, how to make it listen. Pls help me in this regard to proceed further.. Thanks in advance

How can I judge the mail has been read?

805 byte By KarlZheng at 2008-2-4
Hello,everyone!I face a problem when I programming,I'd like to ask for you:I enter the mailbox from webpage,and read some mails,so I'd like to remain the mail in my mailbox.(in fact I use some commerce Email client software like FOXMAIL,it doesn't download this kind mail),as the picture ...

WinSock LSP Problem - Please Help

1633 byte By tomblane at 2008-2-3
Hi everyone, I'm having some difficulty writing a WinSock LSP, I've tried many of the MS samples that are available with different versions of the SDK and while I can get them all to complie and install I can't get them to pass any trafficthrough, its as though I no longer have a network ...

Weird one - Router Death by Vista

465 byte By ZardoS42 at 2008-2-3
Here's a weird one.It seems that Vista RC2 is routinely killing my ADSL routerI have a dual boot system (patched up XP Pro vs Vista RC2).Vista seems to be killing my D-Link DSL-500 like...., several times a day while Vista is running.Has anyone else noticed this ?I'm thinking.... some sort of ...

How to cancel socket operations

1435 byte By RandyHale at 2008-2-2
I have an application that acts as an IPC mechanism between two systems running at different sites. There are multiple sockets being used with two threads per socket to handle sending and receiving. When a glitch occurs, the socket in error is closed and a new connection is opened.Now, I have a ...

winsock app works on win 2k server but _slow_ on win 2003

1760 byte By mt-au at 2008-2-2
Download this http webserver example from msdn. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample/html/_sample_mfc_httpsvr.aspCompile and run the software on any Windows 2000 box, with Visual C++ 6.0 or Visual Studio 2003. (I have not installed 2005 to try it with ...