| |

VerySource

 Forgot password?
 Register
Search
Author: tylone

Is this okay? Question about connection release?

[Copy link]

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-5-8 15:45:01
| Show all posts
if (conn.State == ConnectionState.Open)
                        conn.Close ();
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-5-8 23:00:02
| Show all posts
ConnectionState.Connecting indicates that the state is connected,
Generally close the connection when it is Open, or use using
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list