You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why do we need to specify an IP (as argument to constructor) for creating an object of Swoole Server ?
I am asking this because i assume that an object of a Swoole's Server class is created only on a system where we write code to create this Server object.
Are we taking IP as argument because we can somehow spin a Swoole's Server object on another / remote-server's IP ? (given that, other IP/Node also has Swoole installed).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Why do we need to specify an IP (as argument to constructor) for creating an object of Swoole Server ?
I am asking this because i assume that an object of a Swoole's Server class is created only on a system where we write code to create this Server object.
Are we taking IP as argument because we can somehow spin a Swoole's Server object on another / remote-server's IP ? (given that, other IP/Node also has Swoole installed).
Beta Was this translation helpful? Give feedback.
All reactions