File tree Expand file tree <
8000
button data-component="IconButton" type="button" data-testid="collapse-file-tree-button" aria-expanded="true" aria-controls="diff_file_tree" data-analytics-opt-out="true" class="prc-Button-ButtonBase-c50BI d-none d-md-flex position-relative fgColor-muted prc-Button-IconButton-szpyj" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="invisible" aria-describedby=":Rsatdab:-loading-announcement" aria-labelledby=":R4atdab:">
Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 10
10
def fib_server (address ):
11
11
sock = socket (AF_INET , SOCK_STREAM )
12
12
sock .setsockopt (SOL_SOCKET , SO_REUSEADDR , 1 )
13
- sock .bind (address )
13
+ sock .bind (( '' , address ) )
14
14
sock .listen (5 )
15
15
16
16
while True :
@@ -32,4 +32,4 @@ def fib_handler(client):
32
32
print ("Closed" )
33
33
34
34
35
- fib_server (( '' , 25000 ) )
35
+ fib_server (25000 )
You can’t perform that action at this time.
0 commit comments