Home > Computers & Networking > Port Server

Port Server

June 7th, 2013

VB.Net - TCPListener started, now what?

Apologies, I'm used to VB6 winsock and haven't programmed TCP applications since. So I've declared everything, finally with the code...

server = New TcpListener(localAddr, port)
server.Start()

No errors when I run so I'm assuming it's listening. Now what? How do I make a handler for this when a client sends data?

I am not familiar with the .net TCPListener, but I'd assume you just get/read from the open io channel assigned to the server. This will then wait until something comes in on the port. Doubtless there will be options to not wait on the get, and react accordingly, and/or to set timeouts on the read from the port.

Go to MSDN and lookup the class to see what appropriate methods exist.

Most listeners are pretty similar.

Find Port Server On eBay Below:

HP NC523SFP 10GB 2 Ports PCI Express 20 x8 Server Adapter 593717 B21 w Low Pro
HP NC523SFP 10GB 2 Ports PCI Express 20 x8 Server Adapter 593717 B21 w Low Pro
$61.72
HF2211 serial port RJ45 RS232 485 422 Serial to Ethernet Wi Fi Conversion server
HF2211 serial port RJ45 RS232 485 422 Serial to Ethernet Wi Fi Conversion server
$45.60
Raritan Arula Dominion x32 ARU CB2032 128 32 Port Console Server w 128 Bit SSL
Raritan Arula Dominion x32 ARU CB2032 128 32 Port Console Server w 128 Bit SSL
$249.98
NEW Intel I350 T4 PCI Express PCI E Four RJ45 Gigabit Ports Server Adapter NIC
NEW Intel I350 T4 PCI Express PCI E Four RJ45 Gigabit Ports Server Adapter NIC
$67.89
NetGear Wireless Network Print Server USB 54Mbps w 4 Port Switch WGPS606 24GHz
NetGear Wireless Network Print Server USB 54Mbps w 4 Port Switch WGPS606 24GHz
$8.43
DIGI 70000861 PORTSERVER 8 RJ45 WITH AC ADAPTER
DIGI 70000861 PORTSERVER 8 RJ45 WITH AC ADAPTER
$25.00
SuperMicro AOC S2308L L8i 8 Ports SAS 600 PCIe 8Gb s Server RAID Controller Card
SuperMicro AOC S2308L L8i 8 Ports SAS 600 PCIe 8Gb s Server RAID Controller Card
$75.99
Intel IBM I340 T2 PCI E Ethernet Dual Port Server Adapter Card 49Y4232
Intel IBM I340 T2 PCI E Ethernet Dual Port Server Adapter Card 49Y4232
$25.00
AMX EXB COM2 ICSLan Serial Interface 2 Ports FG2100 22
AMX EXB COM2 ICSLan Serial Interface 2 Ports FG2100 22
$57.69
Intel I350 T4 NIC I350AM4 PCI Express RJ45 PCI E 4 Ports Gigabit Server Adapter
Intel I350 T4 NIC I350AM4 PCI Express RJ45 PCI E 4 Ports Gigabit Server Adapter
$51.80
Aten SN0132 32 Port Serial Console Server with Dual Power LAN
Aten SN0132 32 Port Serial Console Server with Dual Power LAN
$2,500.00
Advantech ARK3381 Industrial Computer ARK 3380 ARK 3381 with Printer Ports
Advantech ARK3381 Industrial Computer ARK 3380 ARK 3381 with Printer Ports
$344.25
Aten SN0148 48 Port Serial Console Server with Dual Power LAN
Aten SN0148 48 Port Serial Console Server with Dual Power LAN
$3,500.00
Aten SN0108A 8 Port Serial Console Server with Dual Power LAN
Aten SN0108A 8 Port Serial Console Server with Dual Power LAN
$1,500.00
Aten SN0116A 16 Port Serial Console Server with Dual Power LAN
Aten SN0116A 16 Port Serial Console Server with Dual Power LAN
$1,800.00
Aten SN9108 8 Port Serial Console Server TAA Compliant
Aten SN9108 8 Port Serial Console Server TAA Compliant
$1,100.00
Aten SN9116 16 Port Serial Console Server TAA Compliant
Aten SN9116 16 Port Serial Console Server TAA Compliant
$1,400.00
INTEL 82546 Dual Port Gigabit Server Adapter 8492MT PCI 32bit Network Card New
INTEL 82546 Dual Port Gigabit Server Adapter 8492MT PCI 32bit Network Card New
$14.00
TCP IP to RS232 RS422 RS485 Converter Four way Multi Serial Port Ethernet Server
TCP IP to RS232 RS422 RS485 Converter Four way Multi Serial Port Ethernet Server
$108.00
DELL Power Connect 2708 8 PORT Stackable Network Ethernet Switch Server DSL
DELL Power Connect 2708 8 PORT Stackable Network Ethernet Switch Server DSL
$37.95
HP NC522SFP DUAL PORT 10GbE SERVER ADAPTER 468332 B21 468349 001 BOTH BRACKETS
HP NC522SFP DUAL PORT 10GbE SERVER ADAPTER 468332 B21 468349 001 BOTH BRACKETS
$59.00
Digi PortServer TS 2 Device Server
Digi PortServer TS 2 Device Server
$330.23
HP JetDirect 615N Int 10 100 EIO 1 Port Print Server J6057A B
HP JetDirect 615N Int 10 100 EIO 1 Port Print Server J6057A B
$59.88
Dell Broadcom 57810S Dual Port 10Gb Base T Server Adapter
Dell Broadcom 57810S Dual Port 10Gb Base T Server Adapter
$315.23
WTI TSM 24 Console Server 24x RS232 RJ45 Serial Ports SNMP In Band 10 100
WTI TSM 24 Console Server 24x RS232 RJ45 Serial Ports SNMP In Band 10 100
$458.24
INTEL EXPI9404PTL INTEL PRO 1000 PT QUAD PORT GIGABIT ETHERNET SERVER ADAPTER
INTEL EXPI9404PTL INTEL PRO 1000 PT QUAD PORT GIGABIT ETHERNET SERVER ADAPTER
$85.00
PortServer TS 4 MEI Device Server
PortServer TS 4 MEI Device Server
$489.35
F S Intel Ethernet Server Adapter I350 1G Quad Port I350 T4 I350T4V2 I350 T4 V2
F S Intel Ethernet Server Adapter I350 1G Quad Port I350 T4 I350T4V2 I350 T4 V2
$299.00
Comtrol DeviceMaster 1 Port Device Server 1 x DB 9  1 x RJ 45 99435 0
Comtrol DeviceMaster 1 Port Device Server 1 x DB 9 1 x RJ 45 99435 0
$400.00
Industrial Serial Device Server Over IP Ethernet 1 port RS485 RS 422 485 VCom
Industrial Serial Device Server Over IP Ethernet 1 port RS485 RS 422 485 VCom
$82.20
Digi Etherlite 160 EL160 16 Port Terminal Server 50000986 01 70001878 70001427
Digi Etherlite 160 EL160 16 Port Terminal Server 50000986 01 70001878 70001427
$285.00
Lot of 3 Dell Pro VT 1000 Quad Port Ethernet PCIe Gigabit Server Adapter H092P
Lot of 3 Dell Pro VT 1000 Quad Port Ethernet PCIe Gigabit Server Adapter H092P
$90.00
581201 B21 HP Server Adapter NC550SFP 10GBe Dual Port PCI e 20 586444 001
581201 B21 HP Server Adapter NC550SFP 10GBe Dual Port PCI e 20 586444 001
$298.00
INTEL EXPI9402PT PRO 1000 Dual Port Server Adapter PCI E Network Card 82571 OEM
INTEL EXPI9402PT PRO 1000 Dual Port Server Adapter PCI E Network Card 82571 OEM
$38.88
IP pbx 3 FXO+1FXS Portswith EC hardwareVoIP Telephone Appliance Elastix Server
IP pbx 3 FXO+1FXS Portswith EC hardwareVoIP Telephone Appliance Elastix Server
$606.00
VoIP pbx with 1 FXO 3 FXS PortsVoIP phone System SIP Gateway VoIP PBX Server
VoIP pbx with 1 FXO 3 FXS PortsVoIP phone System SIP Gateway VoIP PBX Server
$476.00
PBX with 8 FXO Portwith Echo HWFXS FXO VoIP System Elastix Asterisk Server pbx
PBX with 8 FXO Portwith Echo HWFXS FXO VoIP System Elastix Asterisk Server pbx
$626.00
IP PBX with 3 FXO+1 FXS PortsAsterisk card tdm410p PABX Elastix Server TDM400P
IP PBX with 3 FXO+1 FXS PortsAsterisk card tdm410p PABX Elastix Server TDM400P
$486.00
Elastix Server with 2FXO+2FXS PortEcho Cancelasterisk card tdm410p SIP gateway
Elastix Server with 2FXO+2FXS PortEcho Cancelasterisk card tdm410p SIP gateway
$598.00

Recently Purchased Port Server:


cyclades ts3000 48port rj45 rs232 terminal console serial server, expi9402pf intel pro1000 pf dual port server adapter pci express, avocent acs6016dacg2 acs console server 600016port unit dual ac power supply, cisco 2500 series as2511rj router access server 16port asynchronous ccna lab, digi cm32 cm 32 port rj45 console management server, solarflare s6102 dual port 10gbe pcie server adapter wo sfp, linksys psus4 print server with 4 port switch, solarflare sfn5122f dual port 10gbe pcie server card, intel e10g41bfsr fiber 10g speed ethernet server adapter x520sr1 single port , silicom peg4bpfi v14 quad port fiber gigabit pci bypass server adapter, riverbed quad port copper gigabit ethernet pcie server adapter 4100004401 new, lot of 2 dell server broadcom 5720 quad port ethernet 1gbe daughter card fm487, raritan dominion sx32 32port secure console server, cisco 2500 series as2511rj router access server 16port console server, comtrol 3000170 interchange thin server rs232 8 port , multitech faxfinder ff430 4port v34 fax server w rack ears sku 92500720lf, dell intel pro1000 pt dual port server adapter full height bracket 1p8d1, dell intel pro1000 pt dual port server adapter full height bracket g174p, startechcom 4 port usb vga ip kvm switch with virtual media sv441dusbi server, intel pro1000 pt dual port server adapter expi9402ptblk high profile bracket, ibm intel pro1000 pt dual port server adapter 39y6127 half height bracket, ibm pro1000 pt quad port server adapter 39y6138 full height bracket, ibm intel pro1000 pt dual port server adapter 39y6127 full height bracket, used intel lan card d33682 pro1000 pt dual port server adapter, intel gigabit et dual port pcie server adapter e1g42et, ibm 42c1752 single port pcie server adapter network interface card fru 42c1751, dlink dp301p fast ethernet parallel port print server sku1360657, startech 1 port rs232422485 serial over ip device server adapter netrs2321e, intel gigabit et dual port server adapter e1g42etblk mfg refb , lsi 92408i 8port sas sata lsi00200 server raid controller card l32508304a, fs solarflare flareon ultra sfn8522 server adapter pci express 31 x8 2 port, lot of 2 hp nc360t dual port gigabit server nic card 412651001412646001 lp, lot of 5 hp nc360t dual port gigabit server nic card 412651001 412646001, dell bcm95719a1904g pci express quad port gigabit ethernet server adapter 0hy7rm, silicom pci express quad port fiber sx server adapter peg4frohs v 10, silicom pci express quad port copper gigabit ethernet lan server adapter peg4, linksys print server for usb with 4 port switch psus4, hp fc2242sr 4gb dual port fc pcie hba a8003a 397740001 lpe11002hp, dell powerconnect 2324 10100 24 port switch tj899, addtron adh6240 24port dual speed hub mbps server€s switches, avocent acs6016mdac g2 advanced console server cyclades acs 6016 dual ac 48 port, digi international 70001806 portserver ts 2port mei rj45, solarflare sfn5322f dual port 10gbe pcie server cardwith low profile bracket, solarflare sfn5322f dual port 10gbe pcie server cardwith high profie bracket, startech com 1port 10100 mbps ethernet parallel network print server new, intel e1g42et 2 port 101001000mbp nic pcie rj45 low high profile server, esi 200 communication server cs 612 port card warranty 6x12, hp 435506003 quadport gigabit server network adapter 436431001 high profile, mrv inreach lx series lx4048s101ac 48 port terminal server rj45 100v240v ac , hp 468349001 dual port 10gbps ethernet sfp pci express server adapter, cisco ace4710k9 4700 4gbps 4port 1u server application control engine switch, trendnet te100p21 multiport 10100mbps print server new in sealed box, hp rackmount 8port kvm switch 1u server console eo1013 340386001, lantronix mss4 edp 4 port device server, tplink tlps110p single parallel port fast ethernet print server email new, hp nc550sfp dual port 10gbe pcie server adapter 586444001, lantronix xsdr2200001 xpress dr 2port serial device server 16377, x3959 dell intel pro1000 pt rj45 dual port server adapter pcie network card, lantronix securelinx slc48 48 port console server switch, hp 593742001 qle3242hp nc523sfp dual port 10gb server adapter low or high , dlink dp300u express ethernetwork 10100m fast ethernet port print server , hp ad33960001 quard port server adapter pcie ad339a, digi 70001734 portserver ts 8 with ac adapter with 60 day warranty, iogear guwip204 4port usb sharing station new sealed

Categories: Computers & Networking Tags:
Comments are closed.