java network programming connection client and server small demo

(using IDEA) When connecting client and server according to the novice bird tutorial Newbie tutorial, simple client-to-server connection demo (https://www.runoob.com/java/java-networking.html) Some problems have been encountered: 1. Start by creating two java files, Client and Server, in the newly created java project. (Files with two class suf ...

Posted by daveoliveruk on Wed, 08 Sep 2021 20:10:23 +0200

The development of MSF stages is not completely North oriented

Using Golang to develop stagers Last article The development of MSF stages is not completely to the North (1) We talked about how to use c to develop the stagers of msf. In this article, we discussed how to use Golang to achieve the same function Train of thought In Golang, it's important to know how to get the file descriptor of socket. In ...

Posted by pirri on Mon, 29 Jun 2020 11:17:12 +0200

Gorang network programming

catalog TCP network programming UDP network programming Http network programming Understand that functions are first class citizens HttpServer source reading Register route Start service Process request HttpClient source reading DemoCode Organizing ideas Important struct tec ...

Posted by nakago on Sun, 28 Jun 2020 08:54:44 +0200

Network programming - TCP/UDP Socket

catalog Article catalog catalog Socket API under Linux Create Socket Bind Socket Request Socket connection Monitor Socket Accept request Close connection Sending and receiving of data Send send function recv receive function sendto send function recvfrom receive function TCP Socket example UDP ...

Posted by navarre on Fri, 26 Jun 2020 08:26:19 +0200

Reconstruction of JAVA chat room -- a simple framework of CS mode

preface Since the beginning of data mining, I haven't written blog about technology for a long time. Recently, school JAVA The course design requires to realize a chat room. I think I wrote one last year, but I didn't realize some of the required functions, but looking at the original code, it seems that it's a little bit difficult to add func ...

Posted by samvelyano on Fri, 26 Jun 2020 04:17:25 +0200

The growth path of Java back-end architect -- Java network programming Netty

Java network programming Netty Analysis of Netty core source code Source code analysis of Netty startup process The overall understanding of the Demo source startup class of Echo program Source code analysis of NioEventLoopGroup ServerBootstrap creation and build process Source code analysis of bin ...

Posted by fresch on Thu, 25 Jun 2020 13:58:26 +0200

Network communication simulator using WINSOCK (client side)

Network communication simulator using WINSOCK (client side) Recently, in the process of embedded project, I learned winsock network programming. The main content of project is to simulate the whole process through c language before migrating to stm32. The process includes: a client device and a sens ...

Posted by ody on Wed, 17 Jun 2020 05:41:41 +0200

Java UDP-based GUI interface simple chat room course experiment (get local IP, IDEA run the same program twice setup method)

UDP-based GUI Simple Chat Room 1. Effects 2. Project Development 2.1. Project Description 2.2. Project ideas 2.3. Project involves knowledge points 2.4, UDP communication protocol 2.5, GUI interface design 2.6. Functional implementation 2.6.1,'OK'button 2.6.2,'Empty'button 2.6.3,'Send'button 2.6.4, ...

Posted by phpmixx on Wed, 17 Jun 2020 04:20:16 +0200

TCP - packet sticking / unpacking

TCP sticking / unpacking TCP is a "flow" protocol. The so-called flow is a string of data without boundary. You can think of the running water in the river. They are connected in one piece and there is no boundary between them. The bottom layer of TCP does not know the specific meaning of th ...

Posted by anjanesh on Sun, 14 Jun 2020 09:30:18 +0200

Android system startup process analysis init process startup process

preface This series of articles briefly introduces the starting process of Android system, which will not stick to the details of the source code, so as to let readers understand the general process. In addition, we need to remind you that you need to have some C/C + + foundation to read this chapte ...

Posted by dusty on Thu, 11 Jun 2020 10:19:31 +0200