Files
miyaliu666 3ea2fe4f77 feat(i18n,curriculum): add Bilibili ids for Chinese (#43564)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-01 09:54:12 +05:30

677 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5ea9997bbec2e9bc47e94db4 Developing a Port Scanner 11 z_qkqZS7KZ4
aid bvid cid
208077317 BV1Uh411p7HS 409036706
developing-a-port-scanner

--question--

--text--

What is the main difference between the .connect() and .connect_ex() methods?

--answers--

There is no difference between the two methods.


If there is an error or if no host is found, .connect() returns an error code while .connect_ex() raises an exception.


If there is an error or if no host is found, .connect() raises an exception while .connect_ex() returns an error code.

--video-solution--

3