Object inherit class.
Wednesday, 25 February 2015
1. Open console editor
2. Do import
system.net.sockets
system.text
used for conversion between bytes and strings
So do the following code:
1. Dim client as net.sockets.tcpclient
2. Dim stream as networkstream = Nothing
You just created a new tcp client, and a stream for when the connection is made so we can send and receive information between the client and the server.
3. Make a connection attempt
For this you need a server and the IP address and port of the server.
This time your computer is also a server.
2. Do import
system.net.sockets
system.text
used for conversion between bytes and strings
So do the following code:
1. Dim client as net.sockets.tcpclient
2. Dim stream as networkstream = Nothing
You just created a new tcp client, and a stream for when the connection is made so we can send and receive information between the client and the server.
3. Make a connection attempt
For this you need a server and the IP address and port of the server.
This time your computer is also a server.
Tuesday, 24 February 2015
useful windows command-line
1. mstsc
2/ control panel commandline
2/ control panel commandline
Control panel tool Command
-----------------------------------------------------------------
Accessibility Options control access.cpl
Add New Hardware control sysdm.cpl add new hardware
Add/Remove Programs control appwiz.cpl
Date/Time Properties control timedate.cpl
Display Properties control desk.cpl
FindFast control findfast.cpl
Fonts Folder control fonts
Internet Properties control inetcpl.cpl
Joystick Properties control joy.cpl
Keyboard Properties control main.cpl keyboard
Microsoft Exchange control mlcfg32.cpl
(or Windows Messaging)
Microsoft Mail Post Office control wgpocpl.cpl
Modem Properties control modem.cpl
Mouse Properties control main.cpl
Multimedia Properties control mmsys.cpl
Network Properties control netcpl.cpl
NOTE: In Windows NT 4.0, Network
properties is Ncpa.cpl, not Netcpl.cpl
Password Properties control password.cpl
PC Card control main.cpl pc card (PCMCIA)
Power Management (Windows 95) control main.cpl power
Power Management (Windows 98) control powercfg.cpl
Printers Folder control printers
Regional Settings control intl.cpl
Scanners and Cameras control sticpl.cpl
Sound Properties control mmsys.cpl sounds
System Properties control sysdm.cpl
Scratch
Scratch help us to:
1. Create own computer games
2. Create interactive stories
3. Create animation
Without having to write code a.k.a just by drag-and-drop.
1. Create own computer games
2. Create interactive stories
3. Create animation
Without having to write code a.k.a just by drag-and-drop.
WIFI
Master said: "It just a configuration"
1. Set up wireless network
Data yang diperlukan:
Nama SSID yang akan dibuat:
Apakah SSID boleh dimunculkan atau tidak boleh.
Jenis keamanan jaringan yang akan digunakan: WPA, WPA2
Password untuk masuk ke dalam SSID:
2. Bridging 2 wireless coverage between 2 access point
Syarat: AP 1 harus bisa detek AP 2. AP2 harus bisa detek AP1.
Parameter yang perlu disetting:
3. Denying a host / MAC filtering
Data yang diperlukan:
Alamat MAC PC/laptop/gadget yang ingin dilarang masuk ke dalam SSID.
4. Set up login server / RADIUS server
5. Set up SNMP server for the access point
6.
Network Troubleshooting
ipconfig
ping
tracert
nslookup
ipconfig: information gathering: ip address, your router's ip address, your DNS server ip address, DHCP server iP address (ipconfig /all),
try:
1. ping your router a.k.a gateway a.k.a default router.
2. ping other PC.
3. ping outside the network PC.
You can also use the term HOPS instead of routers. So, if it takes 10 routers to get to google.com, you can instead say. "it took 10 hops".
8.8.8.8 --> google-public-dns-a.google.com
Terdiri dari:
1. Interactive mode
2. Non-interactive mode
Non-authoritative : non-your DNS server reply.
ls -a
Nickname; alias for a machine.
Name:
Hostname:
2. A record
Informasi yang butuh:
1. Name:
2. Address:
3. SOA record
Data yang dibutuhkan
1. Name :
2. Primary server name:
3. Minimum T T L:
4. Retry time:
5. Mail Box:
6. Refresh Time:
7. Expiry Time:
4. NS record
Data yang dibutuhkan
1. Name
2. Server name
IANA list of root server DNS
IANA list of root server DNS
ping
tracert
nslookup
IPconfig
ipconfig: information gathering: ip address, your router's ip address, your DNS server ip address, DHCP server iP address (ipconfig /all),
Ping
ping: allows you to send a SIGNAL to another Device on the NETWORK to see if it is ACTIVEtry:
1. ping your router a.k.a gateway a.k.a default router.
2. ping other PC.
3. ping outside the network PC.
Tracert
Tracert let's you see, the step-by-step route a packet takes to the destination you specify.You can also use the term HOPS instead of routers. So, if it takes 10 routers to get to google.com, you can instead say. "it took 10 hops".
NSLOOKUP
This command will fetch the DNS records for a given domain name or for a given IP address. Remember the IP address and domain names are stored in DNS servers, so the nslookup command cause you to query the DNS Record to gather information.8.8.8.8 --> google-public-dns-a.google.com
Terdiri dari:
1. Interactive mode
2. Non-interactive mode
Non-authoritative : non-your DNS server reply.
ls -a
Record type Name server
1. CNAMENickname; alias for a machine.
Name:
Hostname:
2. A record
Informasi yang butuh:
1. Name:
2. Address:
3. SOA record
Data yang dibutuhkan
1. Name :
2. Primary server name:
3. Minimum T T L:
4. Retry time:
5. Mail Box:
6. Refresh Time:
7. Expiry Time:
4. NS record
Data yang dibutuhkan
1. Name
2. Server name
IANA list of root server DNS
IANA list of root server DNS
Subscribe to:
Comments (Atom)