Easy Language Network programming

Source: Internet
Author: User

Easy language How to make sockets (socket), it is more troublesome because it is usually provided by other people easy language module but there are

A weakness Easy module developer is basically a personal nature some people will prank write some illegal character code, then this will

Create a security risk, then go back to the topic of how we write the socket application, but first I recommend encapsulation first.


is a simple client/server call Easy Module sample code, I am not a qualified easy programmer and

is a programmer on. NET, so in my encapsulation naming is followed. NET on the socket, but for

You don't have much impact on the code.

Socket Server:


Socket Client:


The code above is just a code example that applies the easy module


The code above is a partial code in the code that exposes the easy module. SendTo is generally used for UDP broadcast and datagram


gethostname host name && Makeword merging short integers


Easy module to expose some of the functions, but I do not want to pull so much, anyway, everyone took their own research

I've already provided some sample code, and everything below needs to be referenced by you on MSDN documentation

Baidu Network disk:http://pan.baidu.com/s/1bnBBkLp Reprint Please indicate the source

Easy Language Network programming

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.