Is it possible to use ethernet Shield as clien and server in the same moment ?

hello developers !
my question is verry simple. i want to use my ethernet Shield(version 2 ) as EthernetClient and EthernetServer in the same moment .
is that possible?

#include <SPI.h>
#include <Ethernet.h>
                               
byte mac[] = { 
0x90, 0xA2, 0xDA, 0x10, 0x6B, 0x4E };
IPAddress ip(192,168,1,50);   /

EthernetServer server(80);
EthernetClient client;

Yes, and works fine.