I have many checkreaders that currently send data to a visual basic program I
wrote that verify that the customer has not written any bad checks to us.
The program was written in vb6 and is installed on a windows 2003 server and
has a visual interface. The information is passed from the check reader to
the server and a response is sent back all using sockets. My vb6 program
uses winsock and I am new to using sockets in vb 2005.
Most of the sample service applications I have seen include the use of a
timer. Hopefully, a timer is not a requirement to create a windows service.
I am hoping that the service can just use the socket's listen function.
I am also looking for a way for the service activity to be viewed by another
application which could start and stop the service if need be as well as list
transactions.
Thank you,
--
Sean McIntire
"Tom Shelton" wrote:
On Oct 8, 1:15 pm, SeanMac <Sean...@discussions.microsoft.comwrote:
I am familiar with how to use winsock in vb6 to create a network app. I'm
trying to find a way to take the current vb6 app and create a windows service
using system.net.sockets. How do you create a service (for the server side)
that accepts incoming client connections using system.net.sockets?
--
Sean McIntire
I'm not sure I understand your question? Do you not know how to use
sockets in .NET? In that case:
http://msdn2.microsoft.com/en-us/library/b6xa24z5.aspx
Is a pretty good starting point (there are links for other versions of
the framework.). I would concentrate on the asyncronous examples.
As far as using them in a service, well there is no difference
between using them in a client application and using them in a
service.
--
Tom Shelton