byte [ ] function ( String arg0 ) { ByteArrayOutputStream loc0 = new ByteArrayOutputStream ( ) ; ObjectOutputStream loc1 = new ObjectOutputStream ( loc0 ) ; loc1 . flush ( ) ; loc1 . writeObject ( arg0 ) ; loc1 . flush ( ) ; byte [ ] loc2 = loc0 . toByteArray ( ) ; return loc2 ; }
serialize the filename to be sent over udp connection concode_field_sep String fileName concode_elem_sep DatagramPacket requestPacket concode_elem_sep int cwnd concode_elem_sep ArrayList<Boolean> timeoutList concode_elem_sep int slowStart concode_elem_sep int start concode_elem_sep int index concode_elem_sep boolean[] ackArray concode_elem_sep Packets[] arrayOfPackets concode_elem_sep Integer[] sync concode_elem_sep DatagramSocket socket concode_elem_sep InetAddress aHost concode_elem_sep int destPort concode_elem_sep File sendingFile concode_elem_sep String destAddress concode_elem_sep int end concode_elem_sep Thread[] threadArray concode_field_sep byte[] serializePacket concode_elem_sep void sendACK concode_elem_sep void startSending concode_elem_sep void run concode_elem_sep void run concode_elem_sep void run concode_elem_sep void main concode_elem_sep boolean istimeOut concode_elem_sep int getFirstFalseInAckArray concode_elem_sep void generateSegArray concode_elem_sep int countAckFalse concode_elem_sep Object deserializePacket concode_elem_sep int countTimeout concode_elem_sep boolean listenForHS concode_elem_sep void send concode_elem_sep boolean sendFileName