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 NC375T Quad Port Gigabit PCIE Server Adapter HSTNS BN50 w LP bracket
HP NC375T Quad Port Gigabit PCIE Server Adapter HSTNS BN50 w LP bracket
$7.56
NEW Intel Pro 1000 PT Quad Port Server Adapter
NEW Intel Pro 1000 PT Quad Port Server Adapter
$99.00
Raritan DSXA 16 DL Dominion 16 Port 10 100 Secure Console Server Remote Access
Raritan DSXA 16 DL Dominion 16 Port 10 100 Secure Console Server Remote Access
$99.99
IBM PRO 1000 PT DUAL PORT SERVER ADAPTER 39Y6127 39Y6128
IBM PRO 1000 PT DUAL PORT SERVER ADAPTER 39Y6127 39Y6128
$25.00
HP EXPI9404PTL NC364T Pro 1000 PT 4 Port Gigabit PCI E Ethernet Server Adapter
HP EXPI9404PTL NC364T Pro 1000 PT 4 Port Gigabit PCI E Ethernet Server Adapter
$32.99
Sun 375 3536 04 R50 StorageTek 8 Port SAS PCI E Server Raid Controller Card
Sun 375 3536 04 R50 StorageTek 8 Port SAS PCI E Server Raid Controller Card
$18.99
NETWORK BROADCOM 57800T DUAL 1GB 10GB PORT G8RPD DELL POWEREDGE SERVER G12 G13
NETWORK BROADCOM 57800T DUAL 1GB 10GB PORT G8RPD DELL POWEREDGE SERVER G12 G13
$59.00
Intel 10 GB AF SR Dual Port Server Adapter
Intel 10 GB AF SR Dual Port Server Adapter
$149.99
NEW INTELLINET 1 Port 80211b Wireless USB Print Server 523165
NEW INTELLINET 1 Port 80211b Wireless USB Print Server 523165
$19.95
Intel EXPX9502CX4 10GB CX4 Dual Port Server Adapter PCIe Standard Profile
Intel EXPX9502CX4 10GB CX4 Dual Port Server Adapter PCIe Standard Profile
$69.99
Digi 70001993 Portserver TS 4 P MEI w power supply 5 Available
Digi 70001993 Portserver TS 4 P MEI w power supply 5 Available
$200.00
Digi 70002316 Portserver TS 4 P MEI w power supply 5 Available
Digi 70002316 Portserver TS 4 P MEI w power supply 5 Available
$200.00
Digi 50000836 49 Portserver TS 4 P MEI w power supply 4 Available
Digi 50000836 49 Portserver TS 4 P MEI w power supply 4 Available
$200.00
Digi 50000836 35 Portserver TS 4 P MEI w power supply 1 Available
Digi 50000836 35 Portserver TS 4 P MEI w power supply 1 Available
$200.00
AIRLINK 101 AMPS240W WIRELESS MULTI FUNCTION 1 PORT PRINTER SERVER
AIRLINK 101 AMPS240W WIRELESS MULTI FUNCTION 1 PORT PRINTER SERVER
$14.95
Cyclades TES0064 Avocent TS400 4 Port Console Server with complete accessories
Cyclades TES0064 Avocent TS400 4 Port Console Server with complete accessories
$99.99
CC2 N320E SR CHELSIO 10GB Dual Ports PCI E x8 LP Server Adapter Card w NO SFPs
CC2 N320E SR CHELSIO 10GB Dual Ports PCI E x8 LP Server Adapter Card w NO SFPs
$28.00
Intel Chipset 82546 Dual Port Gigabit 8492MT 125G Server Adapter Network Card
Intel Chipset 82546 Dual Port Gigabit 8492MT 125G Server Adapter Network Card
$14.00
Intel Chipset I350 T4 Quad Four RJ45 Gigabit Ports Server Adapter PCI E Card
Intel Chipset I350 T4 Quad Four RJ45 Gigabit Ports Server Adapter PCI E Card
$59.99
INTEL DELL 0YT674 Lot Of 3 DELL PRO 1000 ET QUAD PORT PCI E SERVER ADAPTER
INTEL DELL 0YT674 Lot Of 3 DELL PRO 1000 ET QUAD PORT PCI E SERVER ADAPTER
$69.99
Intel82580 I340 T4 E1G44HT E1G44HTBLK Quad Ports Gigabit Ethernet Server Adapter
Intel82580 I340 T4 E1G44HT E1G44HTBLK Quad Ports Gigabit Ethernet Server Adapter
$65.00
Intel chipset 82575 1Gbps HL82575T NIC Dual Port PCI E Gigabit Server Adapter
Intel chipset 82575 1Gbps HL82575T NIC Dual Port PCI E Gigabit Server Adapter
$27.50
Dual Port PCI EX4 125G Intel 82576 EB E1G42ET EF E1G44ET Gigabit Server Adapter
Dual Port PCI EX4 125G Intel 82576 EB E1G42ET EF E1G44ET Gigabit Server Adapter
$48.00
New Intel Chipset I350 T2 Dual Two RJ45 Gigabit Ports Server Adapter PCI E Card
New Intel Chipset I350 T2 Dual Two RJ45 Gigabit Ports Server Adapter PCI E Card
$49.99
Intel OHM9JY Gigabit ET Multi Port Server Adapter for Dell PowerEdge C2100
Intel OHM9JY Gigabit ET Multi Port Server Adapter for Dell PowerEdge C2100
$26.00
Digi 70001805 Portserver TS 1 MEI w power supply 2 Available  Warranty
Digi 70001805 Portserver TS 1 MEI w power supply 2 Available Warranty
$175.00
Digi 50000836 25 Portserver TS 1 MEI w power supply 2 Available
Digi 50000836 25 Portserver TS 1 MEI w power supply 2 Available
$175.00
Digi 70001832 Portserver TS 1 MEI w power supply 2 Available  Warranty
Digi 70001832 Portserver TS 1 MEI w power supply 2 Available Warranty
$175.00
Stallion Easy Server II Easyserver II 8 Port 8 RJ45 Serial Ports w 10BT
Stallion Easy Server II Easyserver II 8 Port 8 RJ45 Serial Ports w 10BT
$200.00
Intel82580 I340 T2 E1G42HTP1G20 Dual Ports Gigabit Ethernet Server Adapter
Intel82580 I340 T2 E1G42HTP1G20 Dual Ports Gigabit Ethernet Server Adapter
$55.00
HP 513736 001 AF617A 16 Port KVM Server Console Switch 517691 001
HP 513736 001 AF617A 16 Port KVM Server Console Switch 517691 001
$64.99
NEWTRENDnet TEW MP1U Wireless G 1 Port Multi Function USB Print Server
NEWTRENDnet TEW MP1U Wireless G 1 Port Multi Function USB Print Server
$50.00
Intel Chipset I350 T4 Quad Four RJ45 Gigabit Ports Server Adapter PCI E Card
Intel Chipset I350 T4 Quad Four RJ45 Gigabit Ports Server Adapter PCI E Card
$65.00
IOGEAR 1 PORT20 PRINTER SERVER MODEL GPSU21 NETWORK PRINTER
IOGEAR 1 PORT20 PRINTER SERVER MODEL GPSU21 NETWORK PRINTER
$35.59
4 Port IP Serial Server RS232 RS422 RS485 Lindy 25105 M
4 Port IP Serial Server RS232 RS422 RS485 Lindy 25105 M
$35.61
HP 416583 001 Gigabit PCIe 4 Port Adapter 436011 001 6050A2072101 Server Card
HP 416583 001 Gigabit PCIe 4 Port Adapter 436011 001 6050A2072101 Server Card
$20.00
Intel Gigabit ET Quad Port Gigabit PCIe Server Adapter Card 89770
Intel Gigabit ET Quad Port Gigabit PCIe Server Adapter Card 89770
$30.00
Intel EXPX9501AFXSR 10GbE XF SR Single Port PCIe Server Adapter Card
Intel EXPX9501AFXSR 10GbE XF SR Single Port PCIe Server Adapter Card
$30.00
Hawking Wired Ethernet 1 Port USB Print Server for Multifunction Printers HMPS1U
Hawking Wired Ethernet 1 Port USB Print Server for Multifunction Printers HMPS1U
$42.75

Recently Purchased Port Server:


digi cm48 48port rj45 console management server cm48 , acs6032mdac001 avocent cyclades 32ports acs 6032 console server x rj45 10100, new hp nc523sfp qle3242hp 10gb 2port server adapter card 593742001 593715001, intel expi9404pt ethernet pro1000 pcie pt quad port server adapter , new avocent cyclades alterpath acs48 sac 48port console server 87611 open box, hp bl460 g6 server w 8gb dual port qlogic fiber card, intel i340t4 quad port ethernet server adapter e69268, silicom pe310g4i71lxr quad port fiber 10 gigabit ethernet pcie server adapter, dell intel quad port gigabit ethernet server nic 0r886r card, new lot of 20 hp 682625001 10gb 1port sfp mlx cx3 alom server adapter, hp nc522sfp 10gbe 2port pcie server adapter 468349001 low bracket height, digi cm32 32port rj45 console server terminal 5000083805 rackmount, hp nc522sfp 10gbe 2port pcie server adapter 468349001, hp proliant bl460c gen8 g8 blade server w heatsinks raid p220i 2port 10gbe, lot of 2 lantronix ets16ps 16port ets8ps 8port terminal servers vgc, avaya mm711 8 port analog media module server processor card hv33 new g1, trendnet te100p21a 3port print server, j9280a hp procurve 2510g48 48port gigabit ethernet switch w rack ears , j9280a hp procurve 2510g48 48port gigabit ethernet network switch unit , lantronix device networking ed41000p201 4port terminaldevice server, hp nc552sfp 10gb dual port flex10 ethernet server adapter 614201001 615406001, hp nc375t pci express quad port gigabit server network adapter 539931001, zonet zps2112 print server usb 20parallel ports 10100mb lan, hp nc522sfp dual port 10gbe server adapter 468332b21 468349001, cisco catalyst 3550 48 port ethernet switch ws c3550 48 emi, cisco n10e0060 6port expansion module, hawking hmps1arb 1port usb print server for allinone printer and airprint, hmps1arb 1port usb print server for allinone printer and airprint, cisco wsc3750x48pl v02 48 port gigabit poe switch c3kxnm1g w dual pow, silicom pe210g2spi9sr dualport 10gb pcie ethernet server adapter free ship, digi portserver ts4, lot of 2 hp nc365t 593720001 pcie 4 port gigabit ethernet server adapters, dell powerconnect 3548p 48port 10100 fully managed poe switch, dell powerconnect 2848 48 port managed gigabit network switch, hp pro curve 2510g48 j9280a 48port gigabit ethernet managed switch, intel expi9404pf pro1000 pf quad port server adapter, ftkmt 0ftkmt dell x520da2 10gb dual port server adapter, avocent acs advanced 6016 16ports unit dual ac power supply 1u console server a, 4u rack mount server case chassis 15x 35 drive bay 2x usb port eeb ceb atx itx, opentext castelle faxpress 7000 8port fax server 7x for win2003, hp nc364t 4port gigabit ethernet server adapter high profile hstnsbn26, comtrol 994350 devicemaster rts db9m 1port , dell 8port kvm switch 71pxp switch server, dell intel quad port gigabit ethernet server nic 0r886r card , hp nc522sfp 468330002 dual port 10gbe network server adapter fh sfp, dell h092p pro1000 quad port pcie gigabit server adapter full profile, hp 412648b21412651001 4121646001 nc360t pci express dual port server adapter, intel expi9402pt pro1000 gigabit 10bt100btx1000bt pt dual port server network, digi portserver ts16 16port terminal server rack ac pn 5000085401, lot of 2dell 10gbe network adapter dual port sfptck99 w interposer board hh4p1, 4 port usb 20 print lan server networking usb printer ethernet adapter, lantronix ethernet modules amp; development tools device server dual port uds200 , dell dual port 10gb ftkmt x520da2 server adapter, digi passport 8port console server with modem, intel e1g42et dual port server adapter 101001000mbps pciexpress 2 x rj45 new, hp nc325m pcie quad port gigabit server adapter cclass blade system 416585b21, new tplink tlps110u usb 20 port print server, new for dell idrac8 port card vtg23 dedicated for poweredge server r330 r230, cisco catalyst 3560 24 port switch 1 x psu wsc3560e24tds, cc2n320esr chelsio 10gb dual ports pcie x8 lp server adapter card w 2 x sfps, hp nc360t pcie two port gigabit server adapter 412651001 hstnsbn16 412646001, intel pro1000 pt quad port server adapter expi9404pt, lot of 32 hp proliant bl460c g8 gen8 blade w heatsinks raid p220i 2port 10gbe, lot of 16 hp proliant bl460c g8 gen8 blade w heatsinks raid p220i 2port 10gbe

Categories: Computers & Networking Tags:
Comments are closed.