Clever Use of code to catch up with one of the female programmers: No. 1 Programmer

Source: Internet
Author: User

To be honest, I like her for the first time. I don't know how to express it, and I don't want to take the liberty. How is it good? When she was added, the time was stopped and her breathing was difficult.

This is the first token I gave her:

 

 

 

You and me:
Void Init ()
{
While ( True )
{
Socket you = New Socket (port );
You. Listen ();
}
}
You:
Main ()
{
Init ();
}
Bool Connecttoyou (IP, Port)
{
Socket me = New Socket (IP, Port );
Return me. Connect ();
}
Me:
Main ()
{
IP address = ' ? ' ;
Port = ' ? ' ;
If (Connecttoyou (IP, Port)
{
Printf ( " We are friends " );
} Else
{
Printf ( " I am sorry! I make a mistake ...... " );
{
}

So can you give me your IP address and port number? Pai_^
My IP: 137.168.234. *, Port: 466026875

Unfortunately, I did not reply, but I was patient ......

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.