Server Ports

  • Thread starter Thread starter Filip
  • Start date Start date
F

Filip

Hello,

I am wondering if VC.NET has any built in support
Server appliactions. I need a package to open a port,
connect to a port, etc, but I'm not sure it that is
delivered built in, or if I need to purchase an outside
package.

If it's built in, any directional help as in a sample,
etc, would prove to be very useful. Otherwise, maybe the
industry standard package name or somethign along those
lines would be really useful. (I think that falls under
winsock, but I'm not sure if that's standard or not)

Thank You,

Filip
 
Filip said:
I am wondering if VC.NET has any built in support
Server appliactions. I need a package to open a port,
connect to a port, etc, but I'm not sure it that is
delivered built in, or if I need to purchase an outside
package.

VC.NET is ONLY a IDE with C++ compiler.

If you want to make an app, you should know the platform you are
targeting (for example: Windows, Linux).

If you have the target, then you can choose the "environment" (for
example ANSI-C, bsd-sockets, Win32-API)

If you develop for windows, then you can either use the sockets-
Interface (more portable) or the "native" Winsock-API.


For more info see:
socket, accept, connect, recv, send, a.s.o.

WSAStartup, WSASend, WSARecv, WSASocket, WSAConnect, a.s.o.

--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp
 
Filip said:
I am wondering if VC.NET has any built in support
Server appliactions. I need a package to open a port,
connect to a port, etc, but I'm not sure it that is
delivered built in, or if I need to purchase an outside
package.

IMO, The problem with questions like this and your previous question on
threading is that any newsgroup response is likely to be too little
information for someone unfamiliar with the answer and and too much for
others. :-(

This article takes a stab at explaining the most performant way to build
servers that scale. (I don't mainatin it is the best on the net, it's just
that google returned it near the top of my query result)

http://www.codeproject.com/internet/iocp.asp

But the I/O completion port technique it uses is an advanced topic. And as
for networked applications with WinSock, books can be (and have been)
written on the topic.

Regards,
Will
 
Back
Top