473,468 Members | 1,485 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how i run a tcplistener in a windows service

I need to execute a TcpListener in a windows service.

tanks for the help.

Nov 15 '05 #1
4 6702
> I need to execute a TcpListener in a windows service.

tanks for the help.


Try this:

TcpListener listener = new TcpListener(thePortToListenOn);
listener.Start();

-JG
Nov 15 '05 #2
Hi Byron,

What exactly is what you are tryig to do. I can post you some code if you
need it.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"byron guerrero" <bg******@bancared.com.gt> wrote in message
news:1d****************************@phx.gbl...
I need to execute a TcpListener in a windows service.

tanks for the help.

Nov 15 '05 #3
Hi,

What you mean with implement SSL?
and why you cannot use IIS?

Anyway, take a look at this post:
http://groups.google.com/groups?hl=e...ublic.dotnet.*

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"bguerrero" <bg*******@bancared.com.gt> wrote in message
news:13****************************@phx.gbl...
Hi, thanks fot answer.

i need to implement ssl/tls on a window service, because i
cant use iis server to handle this. So i need to implement
ssl and tls on a tcplistener.

Thanks for the help
-----Original Message-----
Hi Byron,

What exactly is what you are tryig to do. I can post you

some code if you
need it.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"byron guerrero" <bg******@bancared.com.gt> wrote in

message
news:1d****************************@phx.gbl...
I need to execute a TcpListener in a windows service.

tanks for the help.

.

Nov 15 '05 #4
> i need to implement ssl/tls on a window service, because i
cant use iis server to handle this. So i need to implement
ssl and tls on a tcplistener.


Scott Allen responded to a question similar to this one a few days ago.
Here's a link you might want to check out:

http://www.mentalis.org/soft/projects/ssocket/

-JG
Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Keith Langer | last post by:
I have a TCPListener which needs to listen on my LAN IP as well as the loopback address. In VS.Net 2002 the TCPListener constructor could accept the port as an argument and it automatically bound...
1
by: Doug Wyatt | last post by:
So I'll preface this with the fact that I'm a UNIX developer by training and have just recently gotten in to C# development on Windows. I'm basically running in to a problem whereby I suspect...
4
by: Rob White | last post by:
OK, so I have a TcpListener that is waiting for sockets, this piece of code: IPAddress localAddress = Dns.GetHostByName(Dns.GetHostName()).AddressList; IPEndPoint localEP = new...
0
by: bertymaes | last post by:
Hi, I'm using VB in VS2005 on a WXP SP2 machine to build a windows service that listens to a port to accept messages. This solution works fine when a connecting client sends a message, waits for...
4
by: Thos | last post by:
I have a TcpListener that gets started from a GUI button event handler: TcpListener listener; listener = new TcpListener(IPAddress.Any, 1234); listener.Start(backLog); As soon as the third...
0
by: Thos | last post by:
When I debug a standard socket server app that has a tcplistener using VS.NET 2005, the debugger deadlocks (uses 100% of one of my CPUs) when the code runs the tcplistener.Start(). method. I am...
2
by: =?Utf-8?B?Sm9uIEphY29icw==?= | last post by:
I use in vb (VS2005) Server = New TcpListener(PortNumber) Which is simple and straightforward. But I get Public Sub New(port As Integer) is obsolete: This method has been deprecated. Please...
4
by: =?Utf-8?B?Sm9uIEphY29icw==?= | last post by:
(Note: the TCP Client is on another machine, and attempts communication every minute.) Both apps use the same assembly The service app starts thusly, creating the tcp object and starting the...
6
joedeene
by: joedeene | last post by:
hey, kinda confused, like when i use a thread and set its address of property to a sub that has a tcplistener starting in it or something with tcplistener, i can access other windows controls, like...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.